fix target arch check per case 0000688
authorDavid Anders <dave123@abcsinc.com>
Thu, 9 Feb 2006 19:13:57 +0000 (19:13 -0000)
committerDavid Anders <dave123@abcsinc.com>
Thu, 9 Feb 2006 19:13:57 +0000 (19:13 -0000)
toolchain/uClibc/uclibc.mk

index 9f62a97723d2cb93b15acea816c5d25078fd66ce..de7fae59c15658ef5542a6a04759a4e0a989ac25 100644 (file)
@@ -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}' \