mirror of
https://git.yoctoproject.org/poky
synced 2026-04-27 12:32:13 +02:00
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>
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user