]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
ccache.bbclass: Add allowed list for native recipes
authorAngelo Ribeiro <Angelo.Ribeiro@criticaltechworks.com>
Thu, 17 Aug 2023 09:01:15 +0000 (10:01 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 21 Aug 2023 10:34:05 +0000 (11:34 +0100)
commit87cb2be71e0c0c123eaae6a5ae135900c95535db
treed87095569d124b04d785faaea6123ed3a6f33a17
parente6c87b267252376ca85b534e3c9ee9b77ff665ca
ccache.bbclass: Add allowed list for native recipes

Native recipes are not able to use ccache currently, due to a circular
dependency between ccache-native and cmake-native.
This affects also other native recipes, but not all, imposing a
limitation in build time optimizations.

The introduction of CCACHE_NATIVE_RECIPES_ALLOWED allows the user to specify
which native recipes should use ccache, keeping it disable by default for all
native recipes.

Signed-off-by: Angelo Ribeiro <Angelo.Ribeiro@criticaltechworks.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/ccache.bbclass
meta/conf/documentation.conf