Set TARGET_ARCH also
authorEric Andersen <andersen@codepoet.org>
Tue, 4 Nov 2003 14:00:41 +0000 (14:00 -0000)
committerEric Andersen <andersen@codepoet.org>
Tue, 4 Nov 2003 14:00:41 +0000 (14:00 -0000)
make/uclibc.mk

index 2a30490f814508f29078b379a8d0c2d2e5eb1c53..f3e405642fc8449cb2db36762824bcea4f82f11a 100644 (file)
@@ -31,6 +31,7 @@ else
        cp $(SOURCE_DIR)/uClibc.config $(UCLIBC_DIR)/.config
 endif
        perl -i -p -e 's,^TARGET_[a-z].*,TARGET_$(ARCH)=y,g' $(UCLIBC_DIR)/.config
+       perl -i -p -e 's,^TARGET_ARCH.*,TARGET_ARCH=\"$(ARCH)\",g' $(UCLIBC_DIR)/.config
        perl -i -p -e 's,^KERNEL_SOURCE=.*,KERNEL_SOURCE=\"$(LINUX_DIR)\",g' \
                $(UCLIBC_DIR)/.config
        perl -i -p -e 's,^RUNTIME_PREFIX=.*,RUNTIME_PREFIX=\"$(STAGING_DIR)\",g' \