]> code.ossystems Code Review - openembedded-core.git/commit
kernel.bbclass: do not mv/link sources when externalsrc enabled
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Tue, 8 Sep 2015 10:58:14 +0000 (13:58 +0300)
committerJoshua Lock <joshua.g.lock@intel.com>
Tue, 16 Feb 2016 14:02:48 +0000 (14:02 +0000)
commitca55a01908126c45120fc18e68e78f8f49ecf0ce
tree5df26bd8973165f0ecf8e12d740f0f109df4adb0
parent3bbd53035fb62793f1e44b24b18eb275bd860ed1
kernel.bbclass: do not mv/link sources when externalsrc enabled

If externalsrc is enabled the 'do_unpack' task is run if the recipe has
some local source files. In the case of kernel recipe this caused the
(externalsrc) source tree to be moved/symlinked. This patch prevents the
behaviour, making sure the source tree is not moved around when
externalsrc is enabled. Instead of moving the source tree,
STAGING_KERNEL_DIR will be a symlink to it.

[YOCTO #6658]

(From OE-Core master rev: 8f6c564661a3801012eb2d9a98cdc99c91712367)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
meta/classes/kernel.bbclass