From: Eric Andersen Date: Thu, 21 Nov 2002 09:04:50 +0000 (-0000) Subject: Be even more careful -- avoid using 'which' X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7794775aa48350a61b4c7851a0fc9d701bbd6cd6;p=buildroot.git Be even more careful -- avoid using 'which' --- diff --git a/make/uclibc_toolchain.mk b/make/uclibc_toolchain.mk index ba7cb4f0fa..00320a81b7 100644 --- a/make/uclibc_toolchain.mk +++ b/make/uclibc_toolchain.mk @@ -241,6 +241,8 @@ $(UCLIBC_DIR)/.configured: $(UCLIBC_DIR)/.unpacked perl -i -p -e 's,^SYSTEM_DEVEL_PREFIX=.*,SYSTEM_DEVEL_PREFIX=\"$(STAGING_DIR)\",g' $(UCLIBC_DIR)/.config perl -i -p -e 's,^DEVEL_TOOL_PREFIX=.*,DEVEL_TOOL_PREFIX=\"$(STAGING_DIR)/usr\",g' $(UCLIBC_DIR)/.config perl -i -p -e 's,^SHARED_LIB_LOADER_PATH=.*,SHARED_LIB_LOADER_PATH=\"/lib\",g' $(UCLIBC_DIR)/.config + perl -i -p -e 's,^GCC_BIN=.*,GCC_BIN=$(STAGING_DIR)/bin/$(ARCH)-uclibc-gcc,g' $(UCLIBC_DIR)/extra/gcc-uClibc/Makefile + perl -i -p -e 's,^LD_BIN=.*,LD_BIN=$(STAGING_DIR)/bin/$(ARCH)-uclibc-ld,g' $(UCLIBC_DIR)/extra/gcc-uClibc/Makefile $(MAKE) -C $(UCLIBC_DIR) oldconfig # Note that since the target compiler does not yet exist, we will not # be able to properly generate include/bits/syscall.h so we will need