Browse Source

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>
Yann E. MORIN 14 years ago
parent
commit
512bb3c6d4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      toolchain/toolchain-crosstool-ng/crosstool-ng.mk

+ 1 - 1
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
 
 #-----------------------------------------------------------------------------