mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
[buildroot] rules.mk: filter "." and "./" entries from $PATH, prevents toolchain build issues and likely other problems
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29951 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
c10c357a74
commit
16eb3e2e8b
2
rules.mk
2
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
|
||||
|
||||
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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user