Allan Clark <allanc@chickenandporn.com> provided a way to build on host lacking a proper libintl (such as MacOS-X).
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Mar 11 16:14:06 2007 +0000 (2007-03-11)
changeset 18cc2869cc3121
parent 17 1cc9524bf15a
child 19 d80e6dedcc13
Allan Clark <allanc@chickenandporn.com> provided a way to build on host lacking a proper libintl (such as MacOS-X).
Thank you Allan!
kconfig/Makefile
     1.1 --- a/kconfig/Makefile	Sun Mar 11 09:46:22 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}