From 6b632ad624ca771a6d1fe2dede82e5fa69bb2028 Mon Sep 17 00:00:00 2001 From: "\"Steven J. Hill\"" Date: Tue, 30 Aug 2005 03:35:37 +0000 Subject: Build 'file' for the host as well as the target. If the host system has a version older than that being built for buildroot, the target build will fail. So, we build 'file' for the host and add actually add '$(TOOL_BUILD_DIR)/bin' to the TARGET_PATH so that it takes precedence over the host system version. --- package/Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/Makefile.in') diff --git a/package/Makefile.in b/package/Makefile.in index b76f3ba70..a81d469a1 100644 --- a/package/Makefile.in +++ b/package/Makefile.in @@ -26,7 +26,7 @@ TOOL_BUILD_DIR=$(BASE_DIR)/toolchain_build_$(ARCH)$(ARCH_FPU_SUFFIX) # Strip off the annoying quoting STAGING_DIR:=$(strip $(subst ",, $(BR2_STAGING_DIR))) #" -TARGET_PATH=$(STAGING_DIR)/bin:/bin:/sbin:/usr/bin:/usr/sbin +TARGET_PATH=$(STAGING_DIR)/bin:$(TOOL_BUILD_DIR)/bin:/bin:/sbin:/usr/bin:/usr/sbin IMAGE:=$(BASE_DIR)/rootfs.$(ARCH)$(ARCH_FPU_SUFFIX) REAL_GNU_TARGET_NAME=$(OPTIMIZE_FOR_CPU)-linux-uclibc GNU_TARGET_NAME=$(OPTIMIZE_FOR_CPU)-linux -- cgit v1.2.3