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 11:04:49 +0000 (12:04 +0100)
commit6f766a81f1d93a1e0664f0b6074ad0669480961f
tree55c69f6738866f206b7c27a3242c3c77eb70f0dc
parentaa8f84193bc0cd60aee87a7e582ee703fb10f831
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.

(From OE-Core rev: 2acf8da4f13c175ea818b9514677b7059de1e3e2)

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