diff options
author | Ross Burton <ross.burton@intel.com> | 2013-09-19 11:03:42 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-09-22 12:19:32 +0100 |
commit | fa0fd37f8ed74d56c1e5b175bade575b90e000e6 (patch) | |
tree | 6dfd3de6c375048f9ab6785af38a7f6b185aceef | |
parent | 7a3d2fbcdf7d695ab4eba43d9af908886e87b869 (diff) | |
download | poky-fa0fd37f8ed74d56c1e5b175bade575b90e000e6.tar.gz |
bitbake.conf: define WORKDIR in terms of BASE_WORKDIR
To make it easier to move WORKDIR, define it using the new variable
BASE_WORKDIR, which is the root of the work directory.
(From OE-Core rev: 1eee097f2e29b9d6934711c0b1d32e59e9542f53)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/conf/bitbake.conf | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 58d0c206b7..47d2171775 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf | |||
@@ -339,7 +339,8 @@ HGDIR = "${CO_DIR}/hg" | |||
339 | STAMPS_DIR ?= "${TMPDIR}/stamps" | 339 | STAMPS_DIR ?= "${TMPDIR}/stamps" |
340 | STAMP = "${STAMPS_DIR}/${MULTIMACH_TARGET_SYS}/${PN}/${EXTENDPE}${PV}-${PR}" | 340 | STAMP = "${STAMPS_DIR}/${MULTIMACH_TARGET_SYS}/${PN}/${EXTENDPE}${PV}-${PR}" |
341 | STAMPCLEAN = "${STAMPS_DIR}/${MULTIMACH_TARGET_SYS}/${PN}/*-*" | 341 | STAMPCLEAN = "${STAMPS_DIR}/${MULTIMACH_TARGET_SYS}/${PN}/*-*" |
342 | WORKDIR = "${TMPDIR}/work/${MULTIMACH_TARGET_SYS}/${PN}/${EXTENDPE}${PV}-${PR}" | 342 | BASE_WORKDIR ?= "${TMPDIR}/work" |
343 | WORKDIR = "${BASE_WORKDIR}/${MULTIMACH_TARGET_SYS}/${PN}/${EXTENDPE}${PV}-${PR}" | ||
343 | T = "${WORKDIR}/temp" | 344 | T = "${WORKDIR}/temp" |
344 | D = "${WORKDIR}/image" | 345 | D = "${WORKDIR}/image" |
345 | S = "${WORKDIR}/${BP}" | 346 | S = "${WORKDIR}/${BP}" |