diff options
| author | Christian Marangi | 2022-07-03 00:06:21 +0000 |
|---|---|---|
| committer | Hauke Mehrtens | 2022-10-03 15:40:26 +0000 |
| commit | 18a88668b8ede053919e9ec9b71364cab8e94c57 (patch) | |
| tree | bdfe917137f9f715fbdb678838915807f8b182dc | |
| parent | 29927e347a1b1c256ca39076f23dfc7bbeae798d (diff) | |
| download | openwrt-18a88668b8ede053919e9ec9b71364cab8e94c57.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
@@ -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 |