mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 01:33:10 +02:00
set TOOLCHAIN_DIR var when using external toolchain
This patch allows to use the openwrt toolchain as external toolchain for the same project. See bug #9131 for details. Signed-off-by: Sven Bachmann <dev@mcbachmann.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26405 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
6b730b65ee
commit
076e9f74f8
1
rules.mk
1
rules.mk
@ -140,6 +140,7 @@ ifndef DUMP
|
|||||||
ifneq ($(TOOLCHAIN_LIB_DIRS),)
|
ifneq ($(TOOLCHAIN_LIB_DIRS),)
|
||||||
TARGET_LDFLAGS+= $(patsubst %,-L%,$(TOOLCHAIN_LIB_DIRS))
|
TARGET_LDFLAGS+= $(patsubst %,-L%,$(TOOLCHAIN_LIB_DIRS))
|
||||||
endif
|
endif
|
||||||
|
TOOLCHAIN_DIR:=$(TOOLCHAIN_ROOT_DIR)
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user