rules.mk: don't add staging_dir/host/bin/ path again
authorJo-Philipp Wich <jow@openwrt.org>
Tue, 10 Feb 2015 15:49:36 +0000 (15:49 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Tue, 10 Feb 2015 15:49:36 +0000 (15:49 +0000)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44379

rules.mk

index a79e20d..078ebe3 100644 (file)
--- a/rules.mk
+++ b/rules.mk
@@ -111,7 +111,7 @@ STAGING_DIR_ROOT:=$(STAGING_DIR)/root-$(BOARD)
 BUILD_LOG_DIR:=$(TOPDIR)/logs
 PKG_INFO_DIR := $(STAGING_DIR)/pkginfo
 
-TARGET_PATH:=$(STAGING_DIR_HOST)/bin:$(subst $(space),:,$(filter-out .,$(filter-out ./,$(subst :,$(space),$(PATH)))))
+TARGET_PATH:=$(subst $(space),:,$(filter-out .,$(filter-out ./,$(subst :,$(space),$(PATH)))))
 TARGET_CFLAGS:=$(TARGET_OPTIMIZATION)$(if $(CONFIG_DEBUG), -g3) $(EXTRA_OPTIMIZATION)
 TARGET_CXXFLAGS = $(TARGET_CFLAGS)
 TARGET_ASFLAGS_DEFAULT = $(TARGET_CFLAGS)