diff options
| author | Christian Marangi | 2022-07-03 00:06:21 +0000 |
|---|---|---|
| committer | Christian Marangi | 2022-12-04 15:07:33 +0000 |
| commit | 654e0242e426423409a704bfc5f72b64ebd8d283 (patch) | |
| tree | fa551329c247f3d9db5acd13fff456edf75b5258 | |
| parent | 360d756fbf01e0a051ff47223523deffae647afa (diff) | |
| download | openwrt-654e0242e426423409a704bfc5f72b64ebd8d283.tar.gz | |
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>
(cherry picked from commit a90eabf60255773231ed0259e5da5eb6a36fe9ce)
| -rw-r--r-- | rules.mk | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -212,7 +212,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 |