aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2015-02-10 15:49:36 +0000
committerJo-Philipp Wich <jow@openwrt.org>2015-02-10 15:49:36 +0000
commit24f49b170ef5e3e27f1d7bbb00c7ed39a7352cf3 (patch)
tree31c5beedcf22c49f1756111629aa4a3f61517602
parent6205e3324d75a8602875b1360e6b1c7f9cd49528 (diff)
downloadupstream-24f49b170ef5e3e27f1d7bbb00c7ed39a7352cf3.tar.gz
upstream-24f49b170ef5e3e27f1d7bbb00c7ed39a7352cf3.tar.bz2
upstream-24f49b170ef5e3e27f1d7bbb00c7ed39a7352cf3.zip
rules.mk: don't add staging_dir/host/bin/ path again
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 44379
-rw-r--r--rules.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.mk b/rules.mk
index a79e20dfa4..078ebe3faa 100644
--- 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)