Patchwork [CONSOLIDATED,PULL,(Updated),15/15] kernel-yocto: add CCACHE_DIR dependency to do_kernel_configme

login
register
mail settings
Submitter Saul Wold
Date Aug. 7, 2011, 5:01 a.m.
Message ID <51def5af12c5e80bf2e4c87936b8e700a27691aa.1312692935.git.sgw@linux.intel.com>
Download mbox | patch
Permalink /patch/9483/
State New, archived
Headers show

Comments

Saul Wold - Aug. 7, 2011, 5:01 a.m.
[YOCTO #1350]

Since do_kernel_configme is added before the standard do_configure task
we needed to add CCACHE_DIR so when the kernel builds it's host configure
tools the CCACHE_DIR exists.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/classes/kernel-yocto.bbclass |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Patch

diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass
index f31ff61..daaee50 100644
--- a/meta/classes/kernel-yocto.bbclass
+++ b/meta/classes/kernel-yocto.bbclass
@@ -84,6 +84,7 @@  do_kernel_checkout[dirs] = "${S}"
 
 addtask kernel_checkout before do_patch after do_unpack
 
+do_kernel_configme[dirs] = "${CCACHE_DIR} ${S} ${B}"
 do_kernel_configme() {
 	echo "[INFO] doing kernel configme"