summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-01-24 22:54:42 (GMT)
committerGitHub <noreply@github.com>2017-01-24 22:54:42 (GMT)
commitb5d0e396d9ad0c886ab487bd26776bda92e5f40c (patch)
tree7bfe2a05f5dcee235ddc448dc3bde53882c8318c /config
parent027a75cbf0e8361160485b5869f3a554cf44977c (diff)
parent832bee87c03ce2fecdbf8b00996fc1fca8f2b2e0 (diff)
Merge pull request #547 from stilor/separate-canadian-crosses-instdir
Simplify the pre-build actions a bit
Diffstat (limited to 'config')
-rw-r--r--config/global/logging.in3
-rw-r--r--config/global/paths.in10
2 files changed, 8 insertions, 5 deletions
diff --git a/config/global/logging.in b/config/global/logging.in
index 0c77e88..a7e7696 100644
--- a/config/global/logging.in
+++ b/config/global/logging.in
@@ -5,8 +5,7 @@ comment "Logging"
choice
bool
prompt "Maximum log level to see:"
- default LOG_INFO if !DEBUG_CT
- default LOG_DEBUG if DEBUG_CT
+ default LOG_EXTRA
config LOG_ERROR
bool
diff --git a/config/global/paths.in b/config/global/paths.in
index 8ebe47f..5313d0d 100644
--- a/config/global/paths.in
+++ b/config/global/paths.in
@@ -5,7 +5,7 @@ comment "Paths"
config LOCAL_TARBALLS_DIR
string
prompt "Local tarballs directory" if ! BACKEND
- default ""
+ default "${HOME}/src"
help
If you have previously downloaded the tarballs, enter the PATH where
you stored them here.
@@ -14,7 +14,7 @@ config SAVE_TARBALLS
bool
prompt "Save new tarballs" if ! BACKEND
depends on LOCAL_TARBALLS_DIR != "" || BACKEND
- default y if BACKEND
+ default y
help
If you say 'y' here, new downloaded tarballs will be saved in the
directory you entered above.
@@ -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_TARGET}"
+ default "${CT_PREFIX:-${HOME}/x-tools}/${CT_HOST:+HOST-${CT_HOST}/}${CT_TARGET}"
help
This is the path the toolchain will run from.