diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2007-03-12 18:59:31 +0000 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2007-03-12 18:59:31 +0000 |
commit | 19e8f6a15ad479ffa59e5f1cfe8ac850a4c5f52d (patch) | |
tree | 3d206db097f329406324741c8b9e2740df001729 /kconfig/Makefile | |
parent | d16255f5e5a80b1f8340f6641fe41f8a64d9100f (diff) | |
download | crosstool-ng-19e8f6a15ad479ffa59e5f1cfe8ac850a4c5f52d.tar.gz crosstool-ng-19e8f6a15ad479ffa59e5f1cfe8ac850a4c5f52d.tar.bz2 crosstool-ng-19e8f6a15ad479ffa59e5f1cfe8ac850a4c5f52d.zip |
Auto-detect Darwin (MacOS-X) and disable libintl for during build for this platform.
A bit of help tweaking.
Diffstat (limited to 'kconfig/Makefile')
-rw-r--r-- | kconfig/Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/kconfig/Makefile b/kconfig/Makefile index fa8f77ad..39a28406 100644 --- a/kconfig/Makefile +++ b/kconfig/Makefile @@ -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 \ |