From: Bernhard Reutner-Fischer Date: Sat, 30 Sep 2006 21:08:56 +0000 (-0000) Subject: - fix bug #1042; Hardcoding system-paths is a bad idea. If some of them are not X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e4a303dd699f66b70fa68ed52f29815e791062b8;p=buildroot.git - fix bug #1042; Hardcoding system-paths is a bad idea. If some of them are not in PATH seen by make then most likely for a very good reason. Set your PATH accordingly if you need /bin or /usr/local/bin et al. --- diff --git a/package/Makefile.in b/package/Makefile.in index 2346882986..9cd170ddf3 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:$(PATH) +TARGET_PATH=$(STAGING_DIR)/bin:$(TOOL_BUILD_DIR)/bin:$(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