summaryrefslogtreecommitdiff
path: root/config/global
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2016-12-14 08:59:08 (GMT)
committerAlexey Neyman <stilor@att.net>2017-01-20 02:08:29 (GMT)
commit832bee87c03ce2fecdbf8b00996fc1fca8f2b2e0 (patch)
tree73691e8beb7531585f5b323affd8a93a207f378c /config/global
parent7fad3936351bc145630ec882a92063153d601d4d (diff)
Make build-all rely on kconfig options.
For that, make CT_BUILD_TOP_DIR a non-settable config option (so that it is recursively expanded with CT_HOST/CT_TARGET). Use a common prefix, with same default as for regular sample build. Use showConfig.sh to determine host toolchain path (for canadian crosses) and build directory to be removed. Remove LIBC_SYSROOT_ARG (unused). Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'config/global')
-rw-r--r--config/global/paths.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/config/global/paths.in b/config/global/paths.in
index 308d8d1..5313d0d 100644
--- a/config/global/paths.in
+++ b/config/global/paths.in
@@ -40,10 +40,14 @@ config WORK_DIR
Do *NOT* change it if you don't know better.
+config BUILD_TOP_DIR
+ string
+ default "${CT_WORK_DIR}/${CT_HOST:+HOST-${CT_HOST}/}${CT_TARGET}"
+
config PREFIX_DIR
string
prompt "Prefix directory" if ! BACKEND
- default "${HOME}/x-tools/${CT_HOST:+HOST-${CT_HOST}/}${CT_TARGET}"
+ default "${CT_PREFIX:-${HOME}/x-tools}/${CT_HOST:+HOST-${CT_HOST}/}${CT_TARGET}"
help
This is the path the toolchain will run from.