1.1 --- a/kconfig/Makefile Sun Mar 04 22:37:11 2007 +0000
1.2 +++ b/kconfig/Makefile Sun Mar 11 16:14:06 2007 +0000
1.3 @@ -7,6 +7,10 @@
1.4 PHONY += clean help oldconfig menuconfig config silentoldconfig \
1.5 randconfig allyesconfig allnoconfig allmodconfig defconfig
1.6
1.7 +ifneq ($(KBUILD_NO_NLS),)
1.8 +CFLAGS += -DKBUILD_NO_NLS
1.9 +endif
1.10 +
1.11 menuconfig: $(obj)/mconf
1.12 @$< $(KCONFIG_TOP)
1.13
1.14 @@ -45,11 +49,11 @@
1.15 @ln -s $(notdir $<) $@
1.16
1.17 kconfig/mconf: $(SHIPPED) kconfig/mconf.c
1.18 - @$(HOST_CC) -o $@ kconfig/{mconf.c,zconf.tab.c,lxdialog/*.c} \
1.19 + @$(HOST_CC) $(CFLAGS) -o $@ kconfig/{mconf.c,zconf.tab.c,lxdialog/*.c} \
1.20 -lcurses "-DCURSES_LOC=<ncurses.h>"
1.21
1.22 kconfig/conf: $(SHIPPED) kconfig/conf.c
1.23 - @$(HOST_CC) -o $@ kconfig/{conf.c,zconf.tab.c}
1.24 + @$(HOST_CC) $(CFLAGS) -o $@ kconfig/{conf.c,zconf.tab.c}
1.25
1.26 clean::
1.27 @rm -f $(wildcard kconfig/*zconf*.c) kconfig/{conf,mconf}