mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-19 11:17:00 +00:00
Auto-detect Darwin (MacOS-X) and disable libintl for during build for this platform.
A bit of help tweaking.
This commit is contained in:
parent
d16255f5e5
commit
19e8f6a15a
6
Makefile
6
Makefile
@ -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
|
||||
|
||||
|
@ -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 \
|
||||
|
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user