Patchwork [1/2] bitbake.conf: define WORKDIR in terms of BASE_WORKDIR

login
register
mail settings
Submitter Ross Burton
Date Aug. 13, 2013, 10:10 a.m.
Message ID <df9d47860ec90d7f77ece202832af3a65103b7cb.1376388241.git.ross.burton@intel.com>
Download mbox | patch
Permalink /patch/55535/
State New
Headers show

Comments

Ross Burton - Aug. 13, 2013, 10:10 a.m.
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>
---
 meta/conf/bitbake.conf |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

1.7.10.4

Patch

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 07eb473..9e2696b 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -338,8 +338,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}"
--