aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2013-09-19 11:03:42 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-09-20 10:49:18 +0100
commit1eee097f2e29b9d6934711c0b1d32e59e9542f53 (patch)
tree632f96b6867aec60eea1418a008e2450987b85c6
parent148c7e990831ed708f7fb064ec8f05657a323850 (diff)
downloadopenembedded-core-contrib-1eee097f2e29b9d6934711c0b1d32e59e9542f53.tar.gz
openembedded-core-contrib-1eee097f2e29b9d6934711c0b1d32e59e9542f53.tar.bz2
openembedded-core-contrib-1eee097f2e29b9d6934711c0b1d32e59e9542f53.zip
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. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/conf/bitbake.conf3
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"
STAMPS_DIR ?= "${TMPDIR}/stamps"
STAMP = "${STAMPS_DIR}/${MULTIMACH_TARGET_SYS}/${PN}/${EXTENDPE}${PV}-${PR}"
STAMPCLEAN = "${STAMPS_DIR}/${MULTIMACH_TARGET_SYS}/${PN}/*-*"
-WORKDIR = "${TMPDIR}/work/${MULTIMACH_TARGET_SYS}/${PN}/${EXTENDPE}${PV}-${PR}"
+BASE_WORKDIR ?= "${TMPDIR}/work"
+WORKDIR = "${BASE_WORKDIR}/${MULTIMACH_TARGET_SYS}/${PN}/${EXTENDPE}${PV}-${PR}"
T = "${WORKDIR}/temp"
D = "${WORKDIR}/image"
S = "${WORKDIR}/${BP}"