Auto-detect Darwin (MacOS-X) and disable libintl for during build for this platform.
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon Mar 12 18:59:31 2007 +0000 (2007-03-12)
changeset 19d80e6dedcc13
parent 18 cc2869cc3121
child 20 e238f7fbc941
Auto-detect Darwin (MacOS-X) and disable libintl for during build for this platform.
A bit of help tweaking.
Makefile
kconfig/Makefile
tools/Makefile
     1.1 --- a/Makefile	Sun Mar 11 16:14:06 2007 +0000
     1.2 +++ b/Makefile	Mon Mar 12 18:59:31 2007 +0000
     1.3 @@ -21,9 +21,9 @@
     1.4  
     1.5  help::
     1.6  	@echo  'Build targets:'
     1.7 -	@echo  '* build		  - Build the toolchain'
     1.8 -	@echo  '  clean		  - Remove generated files'
     1.9 -	@echo  '  distclean	  - Remove generated files and configuration'
    1.10 +	@echo  '* build          - Build the toolchain'
    1.11 +	@echo  '  clean          - Remove generated files'
    1.12 +	@echo  '  distclean      - Remove generated files and configuration'
    1.13  
    1.14  include $(CT_TOP_DIR)/tools/Makefile
    1.15  
     2.1 --- a/kconfig/Makefile	Sun Mar 11 16:14:06 2007 +0000
     2.2 +++ b/kconfig/Makefile	Mon Mar 12 18:59:31 2007 +0000
     2.3 @@ -7,6 +7,11 @@
     2.4  PHONY += clean help oldconfig menuconfig config silentoldconfig \
     2.5  	randconfig allyesconfig allnoconfig allmodconfig defconfig
     2.6  
     2.7 +# Darwin (MacOS-X) does not have proper libintl support
     2.8 +ifeq ($(shell uname -s),Darwin)
     2.9 +KBUILD_NO_NLS:=1
    2.10 +endif
    2.11 +
    2.12  ifneq ($(KBUILD_NO_NLS),)
    2.13  CFLAGS += -DKBUILD_NO_NLS
    2.14  endif
    2.15 @@ -31,9 +36,9 @@
    2.16  # Help text used by make help
    2.17  help::
    2.18  	@echo  'General purpose configuration targets:'
    2.19 -	@echo  '  config	  - Update current config using a line-oriented program'
    2.20 -	@echo  '  menuconfig	  - Update current config using a menu based program'
    2.21 -	@echo  '  oldconfig	  - Update current config using a provided .config as base'
    2.22 +	@echo  '  config         - Update current config using a line-oriented program'
    2.23 +	@echo  '  menuconfig     - Update current config using a menu based program'
    2.24 +	@echo  '  oldconfig      - Update current config using a provided .config as base'
    2.25  	@echo
    2.26  	@echo  'Preconfigured configuration targets:'
    2.27  	@for s in $(SAMPLES_CONFIG); do   \
     3.1 --- a/tools/Makefile	Sun Mar 11 16:14:06 2007 +0000
     3.2 +++ b/tools/Makefile	Mon Mar 12 18:59:31 2007 +0000
     3.3 @@ -8,4 +8,4 @@
     3.4  	@wget "$(CONFIG_GUESS_SRC)" -O "$(CONFIG_GUESS_DEST)"
     3.5  
     3.6  help::
     3.7 -	@echo '  updatetools	  - Update the config tools'
     3.8 +	@echo  '  updatetools    - Update the config tools'