diff options
author | Eric Andersen <andersen@codepoet.org> | 2003-01-08 21:34:59 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2003-01-08 21:34:59 +0000 |
commit | 529820d7cdf541205d5a52ca982c1acd09c1273a (patch) | |
tree | d7db18db4aad37bd4d0e51b0a92668180a899189 | |
parent | e4ee6a76ce885374fb34c7074a548917f9c8c296 (diff) | |
download | buildroot-novena-529820d7cdf541205d5a52ca982c1acd09c1273a.tar.gz buildroot-novena-529820d7cdf541205d5a52ca982c1acd09c1273a.zip |
Be extra careful about the target utils
-rw-r--r-- | make/gcc_target.mk | 8 |
1 files 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 |