]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
ccache: do not use ccache if it is explicitly forbidden
authorPeter Marko <peter.marko@siemens.com>
Thu, 7 Aug 2025 17:50:45 +0000 (19:50 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 11 Aug 2025 17:03:13 +0000 (18:03 +0100)
commit2ea0f82e5f9bb21d21503ed06cf74153ae8cbcc7
treebd41b8ccdd8fe82d40a5cbfe1f5e0d693fe8d693
parenta85f07858b7cf8353541cbe72e2b1a95982d06f3
ccache: do not use ccache if it is explicitly forbidden

Some recipes explicitly disable ccache via CCACHE_DISABLE variable since
they are known issues with ccache in those recipes.
This setting should not be ignored also when ccache in in HOSTOOLS.

Rework a hard to read if clause so that it is in format
if (not CCACHE_DISABLE and (cond1 or cond2 or cond2)):

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
meta/classes/ccache.bbclass