projects
/
openwrt
/
svn-archive
/
archive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b0f8dde
)
[buildroot] rules.mk: filter "." and "./" entries from $PATH, prevents toolchain...
author
Jo-Philipp Wich
<jow@openwrt.org>
Sun, 29 Jan 2012 23:34:25 +0000
(23:34 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Sun, 29 Jan 2012 23:34:25 +0000
(23:34 +0000)
SVN-Revision: 29951
rules.mk
patch
|
blob
|
history
diff --git
a/rules.mk
b/rules.mk
index 6c7514f2a7539e9bc65480dc2a7a5391d6127c72..c6e571115cf24d775d701519734e75641e97639c 100644
(file)
--- a/
rules.mk
+++ b/
rules.mk
@@
-106,7
+106,7
@@
TARGET_DIR:=$(TARGET_ROOTFS_DIR)/root-$(BOARD)
STAGING_DIR_ROOT:=$(STAGING_DIR)/root-$(BOARD)
BUILD_LOG_DIR:=$(TOPDIR)/logs
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
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