summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/global/paths.in4
-rw-r--r--scripts/crosstool-NG.sh1
2 files changed, 4 insertions, 1 deletions
diff --git a/config/global/paths.in b/config/global/paths.in
index 0bf43d9..82ee4b3 100644
--- a/config/global/paths.in
+++ b/config/global/paths.in
@@ -55,6 +55,10 @@ config BUILD_TOP_DIR
string
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"
diff --git a/scripts/crosstool-NG.sh b/scripts/crosstool-NG.sh
index 31942b1..14be5ed 100644
--- a/scripts/crosstool-NG.sh
+++ b/scripts/crosstool-NG.sh
@@ -114,7 +114,6 @@ fi
# Where will we work?
CT_WORK_DIR="${CT_WORK_DIR:-${CT_TOP_DIR}/.build}"
-CT_BUILD_DIR="${CT_BUILD_TOP_DIR}/build"
CT_DoExecLog ALL mkdir -p "${CT_WORK_DIR}"
CT_DoExecLog DEBUG rm -f "${CT_WORK_DIR}/backtrace"