Auto-detect Darwin (MacOS-X) and disable libintl for during build for this platform.

A bit of help tweaking.
This commit is contained in:
Yann E. MORIN" 2007-03-12 18:59:31 +00:00
parent d16255f5e5
commit 19e8f6a15a
3 changed files with 12 additions and 7 deletions

View File

@ -21,9 +21,9 @@ include $(CT_TOP_DIR)/kconfig/Makefile
help::
@echo 'Build targets:'
@echo '* build - Build the toolchain'
@echo ' clean - Remove generated files'
@echo ' distclean - Remove generated files and configuration'
@echo '* build - Build the toolchain'
@echo ' clean - Remove generated files'
@echo ' distclean - Remove generated files and configuration'
include $(CT_TOP_DIR)/tools/Makefile

View File

@ -7,6 +7,11 @@ obj = ./kconfig
PHONY += clean help oldconfig menuconfig config silentoldconfig \
randconfig allyesconfig allnoconfig allmodconfig defconfig
# Darwin (MacOS-X) does not have proper libintl support
ifeq ($(shell uname -s),Darwin)
KBUILD_NO_NLS:=1
endif
ifneq ($(KBUILD_NO_NLS),)
CFLAGS += -DKBUILD_NO_NLS
endif
@ -31,9 +36,9 @@ $(SAMPLES_CONFIG):
# Help text used by make help
help::
@echo 'General purpose configuration targets:'
@echo ' config - Update current config using a line-oriented program'
@echo ' menuconfig - Update current config using a menu based program'
@echo ' oldconfig - Update current config using a provided .config as base'
@echo ' config - Update current config using a line-oriented program'
@echo ' menuconfig - Update current config using a menu based program'
@echo ' oldconfig - Update current config using a provided .config as base'
@echo
@echo 'Preconfigured configuration targets:'
@for s in $(SAMPLES_CONFIG); do \

View File

@ -8,4 +8,4 @@ updatetools:
@wget "$(CONFIG_GUESS_SRC)" -O "$(CONFIG_GUESS_DEST)"
help::
@echo ' updatetools - Update the config tools'
@echo ' updatetools - Update the config tools'