mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-30 16:14:09 +00:00
move BUILD_DIR variable into Kconfig
this allows users to reference this variable, for ex. in TARGET_CFLAGS to remap paths. Signed-off-by: Norbert Lange <nolange79@gmail.com>
This commit is contained in:
parent
3f461da11f
commit
ff0e8ac7ca
@ -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"
|
||||
|
@ -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"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user