- pickup the PATH the user has set.
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Thu, 24 Aug 2006 19:35:47 +0000 (19:35 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Thu, 24 Aug 2006 19:35:47 +0000 (19:35 -0000)
  Fixes HOSTCC et al being installed in e.g. /opt where it wasn't found before.

package/Makefile.in

index a3dd9c59ff5548cbe8eb863eb669eff6bfb63953..2346882986a4d067e962c74d89c435a0d945fef5 100644 (file)
@@ -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