summaryrefslogtreecommitdiffstats
path: root/rules.mk
diff options
context:
space:
mode:
authorChristian Marangi <ansuelsmth@gmail.com>2022-07-03 02:06:21 +0200
committerChristian Marangi <ansuelsmth@gmail.com>2022-07-24 19:53:43 +0200
commita90eabf60255773231ed0259e5da5eb6a36fe9ce (patch)
tree5d5a46a3916e8cd89aeeedc6ab0b6051366813a1 /rules.mk
parent2555ffb4536e2727465e9a0d426ad3c4f1ef003a (diff)
downloadopenwrt-a90eabf60255773231ed0259e5da5eb6a36fe9ce.tar.gz
openwrt-a90eabf60255773231ed0259e5da5eb6a36fe9ce.tar.bz2
openwrt-a90eabf60255773231ed0259e5da5eb6a36fe9ce.zip
rules_mk: don't include wrapped bin with external toolchains
Don't add wrapped bin to the TARGET_PATH as it does cause compilation error. cmake.mk will use the "command -v" and will use the wrapped bin instead of the external toolchain bin as they have the same name and command will select the first result. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Diffstat (limited to 'rules.mk')
-rw-r--r--rules.mk1
1 files changed, 0 insertions, 1 deletions
diff --git a/rules.mk b/rules.mk
index dd375ff3d5..5a56fd6f4a 100644
--- a/rules.mk
+++ b/rules.mk
@@ -208,7 +208,6 @@ ifndef DUMP
ifneq ($(TOOLCHAIN_LIB_DIRS),)
TARGET_LDFLAGS+= $(patsubst %,-L%,$(TOOLCHAIN_LIB_DIRS))
endif
- TARGET_PATH:=$(TOOLCHAIN_DIR)/bin:$(TARGET_PATH)
endif
endif
endif