diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-12-15 14:40:55 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-12-15 14:40:55 +0000 |
commit | c5640c4c9747755b123a3eed5343916e300c762d (patch) | |
tree | bda684489ca2d43d7da0fdcb2d838cfd4c225648 /toolchain | |
parent | 0c9a0312e07e08f2ddfc0f288a8fc5222e9e3564 (diff) |
- s/UCLIBC_HAS_LOCALE/BR2_ENABLE_LOCALE/g
Diffstat (limited to 'toolchain')
-rw-r--r-- | toolchain/uClibc/uclibc.mk | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/toolchain/uClibc/uclibc.mk b/toolchain/uClibc/uclibc.mk index 5bb730a82..d66c5bccf 100644 --- a/toolchain/uClibc/uclibc.mk +++ b/toolchain/uClibc/uclibc.mk @@ -26,9 +26,6 @@ endif endif UCLIBC_CAT:=$(BZCAT) -UCLIBC_SITE_LOCALE:=http://www.uclibc.org/downloads -UCLIBC_SOURCE_LOCALE:=uClibc-locale-030818.tgz - UCLIBC_TARGET_ARCH:=$(shell echo $(ARCH) | sed -e s'/-.*//' \ -e 's/i.86/i386/' \ -e 's/sparc.*/sparc/' \ @@ -63,7 +60,11 @@ endif $(DL_DIR)/$(UCLIBC_SOURCE): mkdir -p $(DL_DIR) $(WGET) -P $(DL_DIR) $(UCLIBC_SITE)/$(UCLIBC_SOURCE) -ifneq ($(UCLIBC_HAS_LOCALE),) + +ifneq ($(BR2_ENABLE_LOCALE),) +UCLIBC_SITE_LOCALE:=http://www.uclibc.org/downloads +UCLIBC_SOURCE_LOCALE:=uClibc-locale-030818.tgz + $(DL_DIR)/$(UCLIBC_SOURCE_LOCALE): mkdir -p $(DL_DIR) $(WGET) -P $(DL_DIR) $(UCLIBC_SITE_LOCALE)/$(UCLIBC_SOURCE_LOCALE) @@ -78,8 +79,8 @@ $(UCLIBC_DIR)/.unpacked: $(DL_DIR)/$(UCLIBC_SOURCE) $(UCLIBC_LOCALE_DATA) mkdir -p $(TOOL_BUILD_DIR) $(UCLIBC_CAT) $(DL_DIR)/$(UCLIBC_SOURCE) | tar -C $(TOOL_BUILD_DIR) $(TAR_OPTIONS) - toolchain/patch-kernel.sh $(UCLIBC_DIR) toolchain/uClibc/ uClibc-$(UCLIBC_VER)\*.patch -ifneq ($(UCLIBC_HAS_LOCALE),) - cp -p $(DL_DIR)/$(UCLIBC_SOURCE_LOCALE) $(UCLIBC_DIR)/extra/locale/ +ifneq ($(BR2_ENABLE_LOCALE),) + cp -dpf $(DL_DIR)/$(UCLIBC_SOURCE_LOCALE) $(UCLIBC_DIR)/extra/locale/ endif touch $(UCLIBC_DIR)/.unpacked |