mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-24 06:56:40 +00:00
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.
This commit is contained in:
parent
d8d2459ca4
commit
bf785b301b
@ -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.
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user