diff options
author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2013-02-06 00:17:46 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-03-01 12:56:56 +0000 |
commit | e4ab5efea1a41297f63c96de97270136535b5f0b (patch) | |
tree | 023023cd0ce9429dbd3928891bc69040f2892262 /meta/classes/image.bbclass | |
parent | cfce8643ed166b51d7178be173677ea6f527d453 (diff) | |
download | openembedded-core-e4ab5efea1a41297f63c96de97270136535b5f0b.tar.gz openembedded-core-e4ab5efea1a41297f63c96de97270136535b5f0b.tar.bz2 openembedded-core-e4ab5efea1a41297f63c96de97270136535b5f0b.zip |
kernel-yocto: allow building from fetcher source dir
The linux-yocto recipes themselves always set S="${WORKDIR}/linux" and
arrange for the fetcher default of ${WORKDIR}/git to be renamed before
building.
Part of this rename involves an assumption that the directory used by
the fetcher can be removed as part of the renaming process, or in fact
that renaming is required.
If a derived recipe uses S="${WORKDIR}/git", the checkout phase fails
since the kernel source is removed as part of the processing.
To fix this the code now detects this situation and does not clean the
source directory before renaming the fetcher default (and in fact does
not rename it at all).
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/classes/image.bbclass')
0 files changed, 0 insertions, 0 deletions