summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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' \