diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2012-01-29 23:34:25 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2012-01-29 23:34:25 +0000 |
commit | 1504738c02e27bd9c67b37e30524eda34363efae (patch) | |
tree | b1c5c1a1a3c665b7129dfca16da4e5ef6779ef49 /rules.mk | |
parent | 1a6ccdc0cf06a3ac2bfac9277e21d890bcca92f8 (diff) | |
download | mtk-20170518-1504738c02e27bd9c67b37e30524eda34363efae.zip mtk-20170518-1504738c02e27bd9c67b37e30524eda34363efae.tar.gz mtk-20170518-1504738c02e27bd9c67b37e30524eda34363efae.tar.bz2 |
rules.mk: filter "." and "./" entries from $PATH, prevents toolchain build issues and likely other problems
SVN-Revision: 29951
Diffstat (limited to 'rules.mk')
-rw-r--r-- | rules.mk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -106,7 +106,7 @@ TARGET_DIR:=$(TARGET_ROOTFS_DIR)/root-$(BOARD) STAGING_DIR_ROOT:=$(STAGING_DIR)/root-$(BOARD) BUILD_LOG_DIR:=$(TOPDIR)/logs -TARGET_PATH:=$(STAGING_DIR_HOST)/bin:$(PATH) +TARGET_PATH:=$(STAGING_DIR_HOST)/bin:$(subst $(space),:,$(filter-out .,$(filter-out ./,$(subst :,$(space),$(PATH))))) TARGET_CFLAGS:=$(TARGET_OPTIMIZATION)$(if $(CONFIG_DEBUG), -g3) TARGET_CPPFLAGS:=-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include TARGET_LDFLAGS:=-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib |