summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@anciens.enib.fr>2010-11-27 23:44:02 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2010-11-29 10:24:42 +0100
commit512bb3c6d4abd461376668fb2eac7e7e1f3a7ab2 (patch)
treef83f7808d0113e779aa8cd19ea0853adc3b2472e
parent66254843a57420cf46899b71526fe2481ca7a554 (diff)
downloadbuildroot-novena-512bb3c6d4abd461376668fb2eac7e7e1f3a7ab2.tar.gz
buildroot-novena-512bb3c6d4abd461376668fb2eac7e7e1f3a7ab2.zip
toolchain/crosstool-NG: use HOST_PATH when building the toolchain
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--toolchain/toolchain-crosstool-ng/crosstool-ng.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolchain/toolchain-crosstool-ng/crosstool-ng.mk b/toolchain/toolchain-crosstool-ng/crosstool-ng.mk
index 1e8fa7aa1..31797c487 100644
--- a/toolchain/toolchain-crosstool-ng/crosstool-ng.mk
+++ b/toolchain/toolchain-crosstool-ng/crosstool-ng.mk
@@ -28,7 +28,7 @@ CTNG_UCLIBC_CONFIG_FILE := $(TOPDIR)/toolchain/toolchain-crosstool-ng/uClibc.con
# to calling ct-ng.
# $1: the set of arguments to pass to ct-ng
define ctng
-$(CTNG_DIR)/ct-ng -C $(CTNG_DIR) --no-print-directory $(1)
+PATH=$(HOST_PATH) $(CTNG_DIR)/ct-ng -C $(CTNG_DIR) --no-print-directory $(1)
endef
#-----------------------------------------------------------------------------