summaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-11-05 01:34:17 +0000
committerEric Andersen <andersen@codepoet.org>2003-11-05 01:34:17 +0000
commitd39951475283e231707df7f86a077036e7d35a00 (patch)
treec9493d52a55558d463fe60ce3b38aa67d9abe98a /make
parent55b7ab982f13e72386ddf7621224acc198b50420 (diff)
downloadbuildroot-novena-d39951475283e231707df7f86a077036e7d35a00.tar.gz
buildroot-novena-d39951475283e231707df7f86a077036e7d35a00.zip
A bit more wiggling to prevent asking about the target
architecture when possible, since we already know the correct answer.
Diffstat (limited to 'make')
-rw-r--r--make/uclibc.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/make/uclibc.mk b/make/uclibc.mk
index a547eaf2b..c5c69c5d3 100644
--- a/make/uclibc.mk
+++ b/make/uclibc.mk
@@ -44,7 +44,8 @@ ifeq ($(ENABLE_LOCALE),true)
else
cp $(SOURCE_DIR)/uClibc.config $(UCLIBC_DIR)/.config
endif
- perl -i -p -e 's,^TARGET_[a-z].*,TARGET_$(UCLIBC_TARGET_ARCH)=y,g' $(UCLIBC_DIR)/.config
+ perl -i -p -e 's,^.*TARGET_$(UCLIBC_TARGET_ARCH).*,TARGET_$(UCLIBC_TARGET_ARCH)=y,g' \
+ $(UCLIBC_DIR)/.config
perl -i -p -e 's,^TARGET_ARCH.*,TARGET_ARCH=\"$(UCLIBC_TARGET_ARCH)\",g' $(UCLIBC_DIR)/.config
perl -i -p -e 's,^KERNEL_SOURCE=.*,KERNEL_SOURCE=\"$(LINUX_DIR)\",g' \
$(UCLIBC_DIR)/.config