1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-01 13:09:50 +00:00

bitbake.conf: move PERSISTENT_DIR outside TMPDIR

* PR service cache needs to be persistent between rebuilds
  having it in directory starting with tmp* does not help
  people to understand that it needs to be persistent, so
  move it to TOPDIR

(From OE-Core rev: 5d43f752429707b74dbf46ecb81ac76bad7bb715)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Martin Jansa
2013-03-02 18:18:15 +01:00
committed by Richard Purdie
parent f730a3a037
commit 76334678a2
+1 -1
View File
@@ -327,7 +327,7 @@ FILE_DIRNAME = "${@os.path.dirname(d.getVar('FILE'))}"
TMPDIR ?= "${TOPDIR}/tmp"
CACHE = "${TMPDIR}/cache${@['', '/' + str(d.getVar('MACHINE', True))][bool(d.getVar('MACHINE', True))]}${@['', '/' + str(d.getVar('SDKMACHINE', True))][bool(d.getVar('SDKMACHINE', True))]}"
# The persistent cache should be shared by all builds
PERSISTENT_DIR = "${TMPDIR}/cache"
PERSISTENT_DIR = "${TOPDIR}/cache"
LOG_DIR = "${TMPDIR}/log"
CO_DIR = "${DL_DIR}"
CVSDIR = "${CO_DIR}/cvs"