Merge pull request #1266 from nolange/move_builddir_kconfig

move BUILD_DIR variable into Kconfig
This commit is contained in:
Alexey Neyman 2020-02-16 15:21:45 -08:00 committed by GitHub
commit 4897426202
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -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"

View File

@ -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"