change test for arm variant from BR2_ARCH to UCLIBC_TARGET_ARCH
authorDavid Anders <dave123@abcsinc.com>
Thu, 19 Jan 2006 16:35:20 +0000 (16:35 -0000)
committerDavid Anders <dave123@abcsinc.com>
Thu, 19 Jan 2006 16:35:20 +0000 (16:35 -0000)
toolchain/uClibc/uclibc.mk

index ace8f55df010e1020e0aae573de755239de5eaf5..0e00a63b5326beb5ae25e32a5ec2fbc8ab8569a2 100644 (file)
@@ -78,7 +78,7 @@ $(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 ($(BR2_ARCH),"arm")
+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