diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2010-03-29 12:04:27 +0200 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2010-03-29 12:04:27 +0200 |
commit | bf785b301b34635e2ed1450df79cc0059ff6aea5 (patch) | |
tree | 271807216f002d25bb970037e5b1234c49970fc2 /config | |
parent | d8d2459ca4dd10ef04c20fe22306c2975a7a6811 (diff) | |
download | crosstool-ng-bf785b301b34635e2ed1450df79cc0059ff6aea5.tar.gz crosstool-ng-bf785b301b34635e2ed1450df79cc0059ff6aea5.tar.bz2 crosstool-ng-bf785b301b34635e2ed1450df79cc0059ff6aea5.zip |
config: hide paths when used as a backend
When crosstool-NG is used as a backend, it is the responsibility of the
upper-layer build-system to properly set paths, so we just hide the
prompts in this case.
Diffstat (limited to 'config')
-rw-r--r-- | config/global/paths.in | 13 | ||||
-rw-r--r-- | config/toolchain.in | 2 |
2 files changed, 8 insertions, 7 deletions
diff --git a/config/global/paths.in b/config/global/paths.in index 7fc151b7..63b87759 100644 --- a/config/global/paths.in +++ b/config/global/paths.in @@ -4,7 +4,7 @@ comment "Paths" config LOCAL_TARBALLS_DIR string - prompt "Local tarballs directory" + prompt "Local tarballs directory" if ! BACKEND default "" help If you have previously downloaded the tarballs, enter the PATH where @@ -12,16 +12,17 @@ config LOCAL_TARBALLS_DIR config SAVE_TARBALLS bool - prompt "Save new tarballs" - default n - depends on LOCAL_TARBALLS_DIR != "" + prompt "Save new tarballs" if ! BACKEND + depends on LOCAL_TARBALLS_DIR != "" || BACKEND + default y if BACKEND + default n if ! BACKEND help If you say 'y' here, new downloaded tarballs will be saved in the directory you entered above. config WORK_DIR string - prompt "Working directory" + prompt "Working directory" if ! BACKEND default "${CT_TOP_DIR}/targets" help Set this to the directory where all build actions will be done. @@ -42,7 +43,7 @@ config WORK_DIR config PREFIX_DIR string - prompt "Prefix directory" + prompt "Prefix directory" if ! BACKEND default "${HOME}/x-tools/${CT_TARGET}" help This is the path the toolchain will run from. diff --git a/config/toolchain.in b/config/toolchain.in index c3d03519..896ccca0 100644 --- a/config/toolchain.in +++ b/config/toolchain.in @@ -14,7 +14,7 @@ config USE_SYSROOT config SYSROOT_DIR_PREFIX string - prompt "sysroot prefix dir (READ HELP)" + prompt "sysroot prefix dir (READ HELP)" if ! BACKEND depends on USE_SYSROOT default "" help |