diff options
author | David Anders <dave123@abcsinc.com> | 2006-02-09 19:13:57 +0000 |
---|---|---|
committer | David Anders <dave123@abcsinc.com> | 2006-02-09 19:13:57 +0000 |
commit | cc58ac77fe1c3be7c9382ee38d3c3f805dd453c8 (patch) | |
tree | 9a8dd7d50b897f0cf38aaac2a0062227a5d48fcb | |
parent | 602b0c8ad3da71fcd47a482b079e4a3a28f8a88b (diff) |
fix target arch check per case 0000688
-rw-r--r-- | toolchain/uClibc/uclibc.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/toolchain/uClibc/uclibc.mk b/toolchain/uClibc/uclibc.mk index 9f62a9772..de7fae59c 100644 --- a/toolchain/uClibc/uclibc.mk +++ b/toolchain/uClibc/uclibc.mk @@ -78,9 +78,9 @@ $(UCLIBC_DIR)/.configured: $(UCLIBC_DIR)/.unpacked -e 's,^DEVEL_PREFIX=.*,DEVEL_PREFIX=\"/usr/\",g' \ -e 's,^SHARED_LIB_LOADER_PREFIX=.*,SHARED_LIB_LOADER_PREFIX=\"/lib\",g' \ $(UCLIBC_DIR)/.config -ifeq ($(UCLIBC_TARGET_ARCH),"arm") - $(SED) 's,^.*CONFIG_$(shell echo $(BR2_ARM_TYPE)).*,CONFIG_$(shell echo $(BR2_ARM_TYPE))=y,g' \ - $(UCLIBC_DIR)/.config +ifeq ($(UCLIBC_TARGET_ARCH),arm) + $(SED) 's,^.*CONFIG_$(shell echo $(BR2_ARM_TYPE)).*,CONFIG_$(shell echo $(BR2_ARM_TYPE))=y,g' \ + $(UCLIBC_DIR)/.config endif ifneq ($(UCLIBC_TARGET_ENDIAN),) $(SED) '/^# ARCH_$(UCLIBC_TARGET_ENDIAN)_ENDIAN /{s,# ,,;s, is not set,=y,g}' \ |