diff options
author | Eric Andersen <andersen@codepoet.org> | 2006-10-17 16:57:02 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2006-10-17 16:57:02 +0000 |
commit | 290615edc12f5cddcbeec212533f111f5fdef848 (patch) | |
tree | d8fc39ea27ee77871c0f72a22cabe142a32abc3c /toolchain/uClibc | |
parent | a47e16eb42b2d970b24fdde893617ce3419fb018 (diff) | |
download | buildroot-novena-290615edc12f5cddcbeec212533f111f5fdef848.tar.gz buildroot-novena-290615edc12f5cddcbeec212533f111f5fdef848.zip |
we use BR2_ENABLE_LOCALE not ENABLE_LOCALE
Diffstat (limited to 'toolchain/uClibc')
-rw-r--r-- | toolchain/uClibc/uclibc.mk | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/toolchain/uClibc/uclibc.mk b/toolchain/uClibc/uclibc.mk index fbc6cd770..f2933d453 100644 --- a/toolchain/uClibc/uclibc.mk +++ b/toolchain/uClibc/uclibc.mk @@ -66,9 +66,6 @@ $(UCLIBC_DIR)/.unpacked: $(DL_DIR)/$(UCLIBC_SOURCE) uclibc-configured: dependencies kernel-headers $(UCLIBC_DIR)/.configured $(UCLIBC_DIR)/.configured: $(UCLIBC_DIR)/.unpacked cp $(UCLIBC_CONFIG_FILE) $(UCLIBC_DIR)/.config -ifeq ($(ENABLE_LOCALE),true) - $(SED) 's,^.*UCLIBC_HAS_LOCALE.*,UCLIBC_HAS_LOCALE=y\nUCLIBC_PREGENERATED_LOCALE_DATA=y\nUCLIBC_DOWNLOAD_PREGENERATED_LOCALE_DATA=y\nUCLIBC_HAS_XLOCALE=y\nUCLIBC_HAS_GLIBC_DIGIT_GROUPING=n\n,g' $(UCLIBC_DIR)/.config -endif $(SED) 's,^CROSS_COMPILER_PREFIX=.*,CROSS_COMPILER_PREFIX="$(TARGET_CROSS)",g' \ -e 's,# TARGET_$(UCLIBC_TARGET_ARCH) is not set,TARGET_$(UCLIBC_TARGET_ARCH)=y,g' \ -e 's,^TARGET_ARCH="none",TARGET_ARCH=\"$(UCLIBC_TARGET_ARCH)\",g' \ @@ -117,6 +114,11 @@ endif ifeq ($(BR2_PTHREADS_NATIVE),y) $(SED) 's,# UCLIBC_HAS_THREADS_NATIVE is not set,UCLIBC_HAS_THREADS_NATIVE=y,g' $(UCLIBC_DIR)/.config endif +ifeq ($(BR2_ENABLE_LOCALE),y) + $(SED) 's,^.*UCLIBC_HAS_LOCALE.*,UCLIBC_HAS_LOCALE=y\nUCLIBC_PREGENERATED_LOCALE_DATA=y\nUCLIBC_DOWNLOAD_PREGENERATED_LOCALE_DATA=y\nUCLIBC_HAS_XLOCALE=y\nUCLIBC_HAS_GLIBC_DIGIT_GROUPING=n\n,g' $(UCLIBC_DIR)/.config +else + $(SED) 's,^.*UCLIBC_HAS_LOCALE.*,UCLIBC_HAS_LOCALE=n,g' $(UCLIBC_DIR)/.config +endif mkdir -p $(TOOL_BUILD_DIR)/uClibc_dev/usr/include mkdir -p $(TOOL_BUILD_DIR)/uClibc_dev/usr/lib mkdir -p $(TOOL_BUILD_DIR)/uClibc_dev/lib |