summaryrefslogtreecommitdiffstats
path: root/make/uclibc.mk
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-11-04 14:00:41 +0000
committerEric Andersen <andersen@codepoet.org>2003-11-04 14:00:41 +0000
commita49329139de60682641500d381e397bd344e0867 (patch)
tree96d3d67a78e2ad7e481818a91b6cc646a55763fb /make/uclibc.mk
parent5833504dadb891dad80397c04ce05f43e8912882 (diff)
downloadbuildroot-novena-a49329139de60682641500d381e397bd344e0867.tar.gz
buildroot-novena-a49329139de60682641500d381e397bd344e0867.zip
Set TARGET_ARCH also
Diffstat (limited to 'make/uclibc.mk')
-rw-r--r--make/uclibc.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/make/uclibc.mk b/make/uclibc.mk
index 2a30490f8..f3e405642 100644
--- a/make/uclibc.mk
+++ b/make/uclibc.mk
@@ -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' \