summaryrefslogtreecommitdiff
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
parentb22b97076a915a7005f970dcbed7514282859d08 (diff)
downloadopenembedded-core-6a11cf7dfe930461a6660e3b783b546fa2634900.tar.gz
openembedded-core-6a11cf7dfe930461a6660e3b783b546fa2634900.tar.bz2
openembedded-core-6a11cf7dfe930461a6660e3b783b546fa2634900.tar.xz
openembedded-core-6a11cf7dfe930461a6660e3b783b546fa2634900.zip
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>
-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 7f0da1b96..4c1b6f1fc 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -227,6 +227,8 @@ FILESDIR = "${@bb.which(bb.data.getVar('FILESPATH', d, 1), '.')}"
TMPDIR ?= "${TOPDIR}/tmp"
CACHE = "${TMPDIR}/cache${@['', '/' + str(bb.data.getVar('MACHINE', d, 1))][bool(bb.data.getVar('MACHINE', d, 1))]}"
+# The persistent cache should be shared by all builds
+PERSISTENT_DIR = "${TMPDIR}/cache"
CO_DIR = "${DL_DIR}"
CVSDIR = "${CO_DIR}/cvs"
SVNDIR = "${CO_DIR}/svn"