From: Jo-Philipp Wich Date: Tue, 10 Feb 2015 15:49:36 +0000 (+0000) Subject: rules.mk: don't add staging_dir/host/bin/ path again X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=24f49b170ef5e3e27f1d7bbb00c7ed39a7352cf3;p=openwrt%2Fstaging%2Fthess.git rules.mk: don't add staging_dir/host/bin/ path again Signed-off-by: Jo-Philipp Wich SVN-Revision: 44379 --- 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)