diff options
author | Alexey Neyman <stilor@att.net> | 2016-12-14 00:59:08 -0800 |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2017-01-19 18:08:29 -0800 |
commit | 832bee87c03ce2fecdbf8b00996fc1fca8f2b2e0 (patch) | |
tree | 73691e8beb7531585f5b323affd8a93a207f378c /config/global | |
parent | 7fad3936351bc145630ec882a92063153d601d4d (diff) | |
download | crosstool-ng-832bee87c03ce2fecdbf8b00996fc1fca8f2b2e0.tar.gz crosstool-ng-832bee87c03ce2fecdbf8b00996fc1fca8f2b2e0.tar.bz2 crosstool-ng-832bee87c03ce2fecdbf8b00996fc1fca8f2b2e0.zip |
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.in | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/config/global/paths.in b/config/global/paths.in index 308d8d11..5313d0d0 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. |