From: Eric Andersen Date: Wed, 5 Nov 2003 01:34:17 +0000 (-0000) Subject: A bit more wiggling to prevent asking about the target X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d39951475283e231707df7f86a077036e7d35a00;p=buildroot.git A bit more wiggling to prevent asking about the target architecture when possible, since we already know the correct answer. --- diff --git a/make/uclibc.mk b/make/uclibc.mk index a547eaf2b4..c5c69c5d33 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 diff --git a/sources/uClibc.config b/sources/uClibc.config index b87042da22..d38ca852c0 100644 --- a/sources/uClibc.config +++ b/sources/uClibc.config @@ -1,13 +1,26 @@ # # Automatically generated make config: don't edit # -TARGET_i386=y +# TARGET_alpha is not set +# TARGET_arm is not set +# TARGET_cris is not set +# TARGET_e1 is not set +# TARGET_h8300 is not set +# TARGET_i386 is not set +# TARGET_i960 is not set +# TARGET_m68k is not set +# TARGET_microblaze is not set +# TARGET_mips is not set +# TARGET_powerpc is not set +# TARGET_sh is not set +# TARGET_sparc is not set +# TARGET_v850 is not set # # Target Architecture Features and Options # HAVE_ELF=y -TARGET_ARCH="i386" +TARGET_ARCH="none" UCLIBC_HAS_FLOATS=y # ARCH_HAS_NO_FPU is not set HAS_FPU=y