summaryrefslogtreecommitdiff
path: root/config/global
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2016-12-14 06:18:50 (GMT)
committerAlexey Neyman <stilor@att.net>2017-01-20 02:08:29 (GMT)
commitc0cc73cd6f3040ea08dc09384aa289540b3fb2a2 (patch)
tree415dbea164535bf79bea8414a8548b23430e49e9 /config/global
parentdc3f68c8a5501fd745d079d724da389ea05566f8 (diff)
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 8ebe47f..5e9bcc4 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.