From: Jo-Philipp Wich Date: Sat, 28 Jan 2012 00:15:01 +0000 (+0000) Subject: buildroot: adjust TARGET_PATH in external toolchain case X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=183e636ddf0f85240ccf9454d3c5ace41947c3f5;p=openwrt%2Fsvn-archive%2Fopenwrt.git buildroot: adjust TARGET_PATH in external toolchain case SVN-Revision: 29926 --- diff --git a/rules.mk b/rules.mk index 7d82d95ec2..49c57d23a5 100644 --- a/rules.mk +++ b/rules.mk @@ -138,6 +138,7 @@ ifndef DUMP ifneq ($(TOOLCHAIN_LIB_DIRS),) TARGET_LDFLAGS+= $(patsubst %,-L%,$(TOOLCHAIN_LIB_DIRS)) endif + TARGET_PATH:=$(TOOLCHAIN_DIR)/bin:$(TARGET_PATH) endif endif endif