From d39951475283e231707df7f86a077036e7d35a00 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 5 Nov 2003 01:34:17 +0000 Subject: A bit more wiggling to prevent asking about the target architecture when possible, since we already know the correct answer. --- make/uclibc.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'make') 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 -- cgit v1.2.3