Skip to content

Commit

Permalink
rules_mk: don't include wrapped bin with external toolchains
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ansuel committed Jul 24, 2022
1 parent 2555ffb commit a90eabf
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion rules.mk
Expand Up @@ -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
Expand Down

0 comments on commit a90eabf

Please sign in to comment.