[backfire] buildroot: adjust TARGET_PATH in external toolchain case
authorJo-Philipp Wich <jow@openwrt.org>
Sat, 28 Jan 2012 00:15:01 +0000 (00:15 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sat, 28 Jan 2012 00:15:01 +0000 (00:15 +0000)
SVN-Revision: 29926

rules.mk

index 7d82d95..49c57d2 100644 (file)
--- 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