]> code.ossystems Code Review - openembedded-core.git/commit
ccache: Separate out into its own class
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 29 May 2012 12:29:44 +0000 (13:29 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 30 May 2012 10:21:35 +0000 (11:21 +0100)
commit2acf8da4f13c175ea818b9514677b7059de1e3e2
treee4e5d2a04f3c7030667273544ca13a23763e72e5
parent0f81fbc0df73675aeb79c724858799a3b6a02f85
ccache: Separate out into its own class

Currently, ccache is used if it is present. When building from scratch it gives
no performance improvement and creates a ton of empty directories even when its
not in use.

This change moves ccache support to a bbclass file which the user can choose to
enable. This should make builds more determinstic and make it easier/clearer
to the end user when its being used and when it is not.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/base.bbclass
meta/classes/ccache.bbclass [new file with mode: 0644]
meta/classes/kernel-yocto.bbclass
meta/conf/bitbake.conf