summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2006-08-24 21:35:47 +0200
committerBernhard Reutner-Fischer2006-08-24 21:35:47 +0200
commite16425c389e27373fd7b3acaaf0b5cdde1cb9917 (patch)
tree036b63d7d23ae9704d23b62c6d3f20a0c9415a8c
parentadd URL for binutils 2.17 #1002 (diff)
downloadbuildroot-e16425c389e27373fd7b3acaaf0b5cdde1cb9917.tar.gz
buildroot-e16425c389e27373fd7b3acaaf0b5cdde1cb9917.tar.xz
buildroot-e16425c389e27373fd7b3acaaf0b5cdde1cb9917.zip
- pickup the PATH the user has set.
Fixes HOSTCC et al being installed in e.g. /opt where it wasn't found before.
-rw-r--r--package/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/Makefile.in b/package/Makefile.in
index a3dd9c59f..234688298 100644
--- a/package/Makefile.in
+++ b/package/Makefile.in
@@ -44,7 +44,7 @@ GNU_TARGET_SUFFIX:=-$(strip $(subst ",, $(BR2_GNU_TARGET_SUFFIX)))
# Strip off the annoying quoting
STAGING_DIR:=$(strip $(subst ",, $(BR2_STAGING_DIR)))
#"
-TARGET_PATH=$(STAGING_DIR)/bin:$(TOOL_BUILD_DIR)/bin:/bin:/sbin:/usr/bin:/usr/sbin
+TARGET_PATH=$(STAGING_DIR)/bin:$(TOOL_BUILD_DIR)/bin:/bin:/sbin:/usr/bin:/usr/sbin:$(PATH)
IMAGE:=$(BASE_DIR)/rootfs.$(ARCH)$(ARCH_FPU_SUFFIX)
REAL_GNU_TARGET_NAME=$(OPTIMIZE_FOR_CPU)$(GNU_TARGET_SUFFIX)
GNU_TARGET_NAME=$(OPTIMIZE_FOR_CPU)-linux