summaryrefslogtreecommitdiffstats
path: root/meta/conf/bitbake.conf
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2022-11-28 23:47:05 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-11-29 10:29:58 +0000
commit4543d20213e630437685e9ff4964c2e8e1a29216 (patch)
tree034f44784e8678654a8f61b0f7da2f73ff1cea95 /meta/conf/bitbake.conf
parent48ae9b852ea88c5c40e7ad94d9d93aa031ad9bd4 (diff)
downloadpoky-4543d20213e630437685e9ff4964c2e8e1a29216.tar.gz
bitbake.conf: Simplify CACHE setting
A long time ago the bitbake cache didn't use hashes in it's filename and hence values such as MACHINE were needed in the path to the cache file so that when switching MACHINE, a new cache wasn't always parsed. Times have moved on, we have a hash which represents the configuration and the caches are reused if there is an existing hash that matches. This means the values added to CACHE are obsolete and not needed, we can drop them. (From OE-Core rev: 550ed0a4ce8839946781f18fdce18452de34ddaf) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/bitbake.conf')
-rw-r--r--meta/conf/bitbake.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index a1f0f624e9..d47568157a 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -392,7 +392,7 @@ TCLIBC ??= "glibc"
392TC_CXX_RUNTIME ??= "gnu" 392TC_CXX_RUNTIME ??= "gnu"
393TMPDIR ?= "${TOPDIR}/tmp" 393TMPDIR ?= "${TOPDIR}/tmp"
394 394
395CACHE = "${TMPDIR}/cache/${TCMODE}-${TCLIBC}${@['', '/' + str(d.getVar('MACHINE'))][bool(d.getVar('MACHINE'))]}${@['', '/' + str(d.getVar('SDKMACHINE'))][bool(d.getVar('SDKMACHINE'))]}" 395CACHE = "${TMPDIR}/cache"
396# The persistent cache should be shared by all builds 396# The persistent cache should be shared by all builds
397PERSISTENT_DIR = "${TOPDIR}/cache" 397PERSISTENT_DIR = "${TOPDIR}/cache"
398LOG_DIR = "${TMPDIR}/log" 398LOG_DIR = "${TMPDIR}/log"