diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-05-29 13:29:44 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-05-30 12:04:49 +0100 |
commit | 0299499770e33e0214146132799f8779e81e581d (patch) | |
tree | 76922ab617e852e82c7636f887d2266dd37582ac /meta/classes/kernel-yocto.bbclass | |
parent | a92ff3ad4212f8966bbd3f6defcb112737d81cda (diff) | |
download | poky-0299499770e33e0214146132799f8779e81e581d.tar.gz |
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>
Diffstat (limited to 'meta/classes/kernel-yocto.bbclass')
-rw-r--r-- | meta/classes/kernel-yocto.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass index e931630510..2a3373c63a 100644 --- a/meta/classes/kernel-yocto.bbclass +++ b/meta/classes/kernel-yocto.bbclass | |||
@@ -161,7 +161,7 @@ do_kernel_checkout[dirs] = "${S}" | |||
161 | 161 | ||
162 | addtask kernel_checkout before do_patch after do_unpack | 162 | addtask kernel_checkout before do_patch after do_unpack |
163 | 163 | ||
164 | do_kernel_configme[dirs] = "${CCACHE_DIR} ${S} ${B}" | 164 | do_kernel_configme[dirs] = "${S} ${B}" |
165 | do_kernel_configme() { | 165 | do_kernel_configme() { |
166 | echo "[INFO] doing kernel configme" | 166 | echo "[INFO] doing kernel configme" |
167 | 167 | ||