# HG changeset patch # User "Yann E. MORIN" # Date 1173725971 0 # Node ID d80e6dedcc1355d74c1b250672f2ac8e9cda73d7 # Parent cc2869cc3121260ea7874198866c26bed9749620 Auto-detect Darwin (MacOS-X) and disable libintl for during build for this platform. A bit of help tweaking. diff -r cc2869cc3121 -r d80e6dedcc13 Makefile --- a/Makefile Sun Mar 11 16:14:06 2007 +0000 +++ b/Makefile Mon Mar 12 18:59:31 2007 +0000 @@ -21,9 +21,9 @@ 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 diff -r cc2869cc3121 -r d80e6dedcc13 kconfig/Makefile --- a/kconfig/Makefile Sun Mar 11 16:14:06 2007 +0000 +++ b/kconfig/Makefile Mon Mar 12 18:59:31 2007 +0000 @@ -7,6 +7,11 @@ 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 @@ # 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 \ diff -r cc2869cc3121 -r d80e6dedcc13 tools/Makefile --- a/tools/Makefile Sun Mar 11 16:14:06 2007 +0000 +++ b/tools/Makefile Mon Mar 12 18:59:31 2007 +0000 @@ -8,4 +8,4 @@ @wget "$(CONFIG_GUESS_SRC)" -O "$(CONFIG_GUESS_DEST)" help:: - @echo ' updatetools - Update the config tools' + @echo ' updatetools - Update the config tools'