]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
ccache: enable ccache for all recipes if it is in HOSTTOOLS
authorRoss Burton <ross.burton@arm.com>
Mon, 19 May 2025 12:59:30 +0000 (13:59 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 4 Aug 2025 17:04:00 +0000 (18:04 +0100)
commitcc91a0f6500e88dd96a56307226fcfd16c60c342
treef450db3dd4f1c4c1081da0debee6959b0b1d499e
parent632bcc9acba076a81b7e58918362767bddcd6460
ccache: enable ccache for all recipes if it is in HOSTTOOLS

At the moment we don't allow ccache for native recipes to avoid the
dependency loop of native recipes needing ccache-native which then
depends on itself.

One way to avoid this dependency loop is to just provide a host ccache,
so enable ccache globally if ccache is in HOSTTOOLS.  This isn't set
out of the box, but does work.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/ccache.bbclass