[oe-commits] Ross Burton : bitbake.conf: define WORKDIR in terms of BASE_WORKDIR
git at git.openembedded.org
git at git.openembedded.org
Thu Sep 19 12:39:53 UTC 2013
Module: openembedded-core.git
Branch: master-next
Commit: a09dd094a393657ad0ed7e4cdf9400d5f9fe64dd
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=a09dd094a393657ad0ed7e4cdf9400d5f9fe64dd
Author: Ross Burton <ross.burton at intel.com>
Date: Thu Sep 19 11:03:42 2013 +0100
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 at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
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 58d0c20..47d2171 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}"
More information about the Openembedded-commits
mailing list