From 529820d7cdf541205d5a52ca982c1acd09c1273a Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 8 Jan 2003 21:34:59 +0000 Subject: Be extra careful about the target utils --- make/gcc_target.mk | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/make/gcc_target.mk b/make/gcc_target.mk index ff2da63c4..f02b7b92f 100644 --- a/make/gcc_target.mk +++ b/make/gcc_target.mk @@ -72,7 +72,9 @@ $(BINUTILS_DIR2)/.configured: touch $(BINUTILS_DIR2)/.configured $(BINUTILS_DIR2)/binutils/objdump: $(BINUTILS_DIR2)/.configured - $(MAKE) -C $(BINUTILS_DIR2); + PATH=$(STAGING_DIR)/bin:$$PATH $(MAKE) AR=$(TARGET_CROSS)ar \ + RANLIB=$(TARGET_CROSS)ranlib LD=$(TARGET_CROSS)ld \ + CC=$(TARGET_CROSS)gcc -C $(BINUTILS_DIR2) $(TARGET_DIR)/usr/bin/ld: $(BINUTILS_DIR2)/binutils/objdump PATH=$(STAGING_DIR)/bin:$$PATH $(MAKE) \ @@ -187,7 +189,9 @@ $(GCC_BUILD_DIR3)/.configured: $(GCC_BUILD_DIR3)/.gcc_build_hacks touch $(GCC_BUILD_DIR3)/.configured $(GCC_BUILD_DIR3)/.compiled: $(GCC_BUILD_DIR3)/.configured - PATH=$(STAGING_DIR)/bin:$$PATH $(MAKE) -C $(GCC_BUILD_DIR3) + PATH=$(STAGING_DIR)/bin:$$PATH $(MAKE) AR=$(TARGET_CROSS)ar \ + RANLIB=$(TARGET_CROSS)ranlib LD=$(TARGET_CROSS)ld \ + CC=$(TARGET_CROSS)gcc -C $(GCC_BUILD_DIR3) touch $(GCC_BUILD_DIR3)/.compiled $(TARGET_DIR)/usr/bin/gcc: $(GCC_BUILD_DIR3)/.compiled -- cgit v1.2.3