summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-05-31 22:23:30 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2009-05-31 22:23:30 +0100
commit6a11cf7dfe930461a6660e3b783b546fa2634900 (patch)
treedb5148faa7f762b6a07b035a6dad4c53739e0ec6 /meta
parentb22b97076a915a7005f970dcbed7514282859d08 (diff)
downloadpoky-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')
-rw-r--r--meta/conf/bitbake.conf2
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
228TMPDIR ?= "${TOPDIR}/tmp" 228TMPDIR ?= "${TOPDIR}/tmp"
229CACHE = "${TMPDIR}/cache${@['', '/' + str(bb.data.getVar('MACHINE', d, 1))][bool(bb.data.getVar('MACHINE', d, 1))]}" 229CACHE = "${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
231PERSISTENT_DIR = "${TMPDIR}/cache"
230CO_DIR = "${DL_DIR}" 232CO_DIR = "${DL_DIR}"
231CVSDIR = "${CO_DIR}/cvs" 233CVSDIR = "${CO_DIR}/cvs"
232SVNDIR = "${CO_DIR}/svn" 234SVNDIR = "${CO_DIR}/svn"