aboutsummaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorGravatar Yann E. MORIN <yann.morin.1998@anciens.enib.fr>2010-09-19 21:54:09 +0200
committerGravatar Peter Korsgaard <jacmet@sunsite.dk>2010-10-01 16:40:40 +0200
commit10c1eec2c3351e8a7040431d3178b5a3104db5a2 (patch)
tree7aa1e4bad6d9374acf668c1329908499e2b05f0a /package
parentd0c3d1cf4365a80ba2ec35eef0c3ed7ac907f320 (diff)
downloadbuildroot-10c1eec2c3351e8a7040431d3178b5a3104db5a2.tar.gz
buildroot-10c1eec2c3351e8a7040431d3178b5a3104db5a2.tar.bz2
toolchain: add new toolchain backend: crosstool-NG
[Peter: indent Config.in, shuffle make targets around] Signed-off-by: Yann E. MORIN <yann.morin.1998@anciens.enib.fr> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package')
-rw-r--r--package/Makefile.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/Makefile.in b/package/Makefile.in
index f0dda27c26..85e655054f 100644
--- a/package/Makefile.in
+++ b/package/Makefile.in
@@ -117,6 +117,8 @@ else ifeq ($(BR2_TOOLCHAIN_EXTERNAL),y)
TOOLCHAIN_EXTERNAL_PREFIX:=$(call qstrip,$(BR2_TOOLCHAIN_EXTERNAL_PREFIX))
TOOLCHAIN_EXTERNAL_PATH:=$(call qstrip,$(BR2_TOOLCHAIN_EXTERNAL_PATH))
TARGET_CROSS=$(TOOLCHAIN_EXTERNAL_PATH)/bin/$(TOOLCHAIN_EXTERNAL_PREFIX)-
+else ifeq ($(BR2_TOOLCHAIN_CTNG),y)
+TARGET_CROSS=$(TOOLCHAIN_DIR)/bin/$(REAL_GNU_TARGET_NAME)-
endif
# Quotes are needed for spaces et al in path components.