]> code.ossystems Code Review - openembedded-core.git/commitdiff
bitbake.conf: Set PERSISTENT_DIR for the cache location so its common to all builds...
authorRichard Purdie <rpurdie@linux.intel.com>
Sun, 31 May 2009 21:23:30 +0000 (22:23 +0100)
committerRichard Purdie <rpurdie@linux.intel.com>
Sun, 31 May 2009 21:23:30 +0000 (22:23 +0100)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
meta/conf/bitbake.conf

index 7f0da1b965458126d3261cb5abe709830d9afd76..4c1b6f1fcd75141c86f381b7c85b09eb77130414 100644 (file)
@@ -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"