Bug 1350

Summary: ccache directory does not get created correctly for kernel
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Saul Wold <sgw>
Component: coreAssignee: Saul Wold <sgw>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: High CC: meta.mr.watcher, meta.watcher, richard.purdie
Version: 1.0   
Target Milestone: 1.1 M3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Saul Wold 2011-08-06 11:21:05 UTC
If you build the kernel from a clean tmp, but with shared state, the ccache directory does not get created correctly during the kernel_configme task.
Comment 1 Saul Wold 2011-08-06 13:47:14 UTC
The problem was that the ${CCACHE_DIR} was not being created, it was a timing issue related to sstate and the fact the the kernel_configme happened before do_configure. Normally do_configure would create the dir as it has a [dirs] dependency.

This patch was to add a do_kernel_configme[dirs] = "${CCACHE_DIR}" to ensure the directory was created.