diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-05-31 22:23:30 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-05-31 22:23:30 +0100 |
commit | 6a11cf7dfe930461a6660e3b783b546fa2634900 (patch) | |
tree | db5148faa7f762b6a07b035a6dad4c53739e0ec6 /meta/conf | |
parent | b22b97076a915a7005f970dcbed7514282859d08 (diff) | |
download | poky-6a11cf7dfe930461a6660e3b783b546fa2634900.tar.gz |
bitbake.conf: Set PERSISTENT_DIR for the cache location so its common to all builds of different machines
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/conf')
-rw-r--r-- | meta/conf/bitbake.conf | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 7f0da1b965..4c1b6f1fcd 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf | |||
@@ -227,6 +227,8 @@ FILESDIR = "${@bb.which(bb.data.getVar('FILESPATH', d, 1), '.')}" | |||
227 | 227 | ||
228 | TMPDIR ?= "${TOPDIR}/tmp" | 228 | TMPDIR ?= "${TOPDIR}/tmp" |
229 | CACHE = "${TMPDIR}/cache${@['', '/' + str(bb.data.getVar('MACHINE', d, 1))][bool(bb.data.getVar('MACHINE', d, 1))]}" | 229 | CACHE = "${TMPDIR}/cache${@['', '/' + str(bb.data.getVar('MACHINE', d, 1))][bool(bb.data.getVar('MACHINE', d, 1))]}" |
230 | # The persistent cache should be shared by all builds | ||
231 | PERSISTENT_DIR = "${TMPDIR}/cache" | ||
230 | CO_DIR = "${DL_DIR}" | 232 | CO_DIR = "${DL_DIR}" |
231 | CVSDIR = "${CO_DIR}/cvs" | 233 | CVSDIR = "${CO_DIR}/cvs" |
232 | SVNDIR = "${CO_DIR}/svn" | 234 | SVNDIR = "${CO_DIR}/svn" |