summaryrefslogtreecommitdiff
path: root/config/global/paths.in
diff options
context:
space:
mode:
Diffstat (limited to 'config/global/paths.in')
-rw-r--r--config/global/paths.in40
1 files changed, 30 insertions, 10 deletions
diff --git a/config/global/paths.in b/config/global/paths.in
index 5313d0d..82ee4b3 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" if ! BACKEND
+ prompt "Local tarballs directory"
default "${HOME}/src"
help
If you have previously downloaded the tarballs, enter the PATH where
@@ -12,16 +12,27 @@ config LOCAL_TARBALLS_DIR
config SAVE_TARBALLS
bool
- prompt "Save new tarballs" if ! BACKEND
- depends on LOCAL_TARBALLS_DIR != "" || BACKEND
+ prompt "Save new tarballs"
+ depends on LOCAL_TARBALLS_DIR != ""
default y
help
If you say 'y' here, new downloaded tarballs will be saved in the
directory you entered above.
+config TARBALLS_BUILDROOT_LAYOUT
+ bool "Prefer buildroot-style layout of the downloads"
+ help
+ Buildroot switched the layout of its downloads directory to place
+ files for each package into a subdirectory named after that package.
+ Enable this option to have crosstool-NG create similar layout.
+ If this option is set and the required archive is located in
+ the directory with a legacy, flat layout, the archive will be moved
+ into a subdirectory. If this is option is not set, subdirectories
+ will neither be checked nor used to store the downloads.
+
config WORK_DIR
string
- prompt "Working directory" if ! BACKEND
+ prompt "Working directory"
default "${CT_TOP_DIR}/.build"
help
Set this to the directory where all build actions will be done.
@@ -42,11 +53,15 @@ config WORK_DIR
config BUILD_TOP_DIR
string
- default "${CT_WORK_DIR}/${CT_HOST:+HOST-${CT_HOST}/}${CT_TARGET}"
+ default "${CT_WORK_DIR:-${CT_TOP_DIR}/.build}/${CT_HOST:+HOST-${CT_HOST}/}${CT_TARGET}"
+
+config BUILD_DIR
+ string
+ default "${CT_BUILD_TOP_DIR}/build"
config PREFIX_DIR
string
- prompt "Prefix directory" if ! BACKEND
+ prompt "Prefix directory"
default "${CT_PREFIX:-${HOME}/x-tools}/${CT_HOST:+HOST-${CT_HOST}/}${CT_TARGET}"
help
This is the path the toolchain will run from.
@@ -55,7 +70,6 @@ config RM_RF_PREFIX_DIR
bool
prompt "| Remove the prefix dir prior to building"
default y
- depends on !BACKEND
help
If you say 'y' here, then PREFIX_DIR (above) will be eradicated
prior to the toolchain is built.
@@ -69,9 +83,6 @@ config RM_RF_PREFIX_DIR
it into a directory with pre-install, unrelated programs, it would be
damageable to remove that directory. In this case, you may want to
say 'n' here.
-
- Note that when acting as a backend, this option is not available, and
- is forced to 'n'.
config REMOVE_DOCS
bool
@@ -89,6 +100,15 @@ config BUILD_MANUALS
Build the PDF and HTML manuals for the main components such as
binutils, GCC, GDB, and the C library.
+config INSTALL_LICENSES
+ bool "Install licenses"
+ default y
+ help
+ Collect the license files for all the components that went into
+ producing this toolchain (including the crosstool-NG itself)
+ and place them in /share/licenses directory within the prefix
+ directory.
+
config PREFIX_DIR_RO
bool
prompt "Render the toolchain read-only"