summaryrefslogtreecommitdiff
path: root/config/global
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2016-12-13 22:18:50 -0800
committerAlexey Neyman <stilor@att.net>2017-01-19 18:08:29 -0800
commitc0cc73cd6f3040ea08dc09384aa289540b3fb2a2 (patch)
tree415dbea164535bf79bea8414a8548b23430e49e9 /config/global
parentdc3f68c8a5501fd745d079d724da389ea05566f8 (diff)
downloadcrosstool-ng-c0cc73cd6f3040ea08dc09384aa289540b3fb2a2.tar.gz
crosstool-ng-c0cc73cd6f3040ea08dc09384aa289540b3fb2a2.tar.bz2
crosstool-ng-c0cc73cd6f3040ea08dc09384aa289540b3fb2a2.zip
Install canadian crosses into a separate subdir.
Makes them sorted out by host, and removes the need for similar hack in samples.mk. Change how canadian crosses are named: using `=' character resulted in Glibc build failure. Move loading config into a common function, CT_LoadConfig. Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'config/global')
-rw-r--r--config/global/paths.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/global/paths.in b/config/global/paths.in
index 8ebe47f5..5e9bcc42 100644
--- a/config/global/paths.in
+++ b/config/global/paths.in
@@ -43,7 +43,7 @@ config WORK_DIR
config PREFIX_DIR
string
prompt "Prefix directory" if ! BACKEND
- default "${HOME}/x-tools/${CT_TARGET}"
+ default "${HOME}/x-tools/${CT_HOST:+HOST-${CT_HOST}/}${CT_TARGET}"
help
This is the path the toolchain will run from.