]> code.ossystems Code Review - openembedded-core.git/commitdiff
kernel.bbclass: Update cleandirs to remove new kernel staging dirs
authorDarren Hart <dvhart@linux.intel.com>
Thu, 15 Jan 2015 11:54:19 +0000 (11:54 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 16 Jan 2015 09:13:02 +0000 (09:13 +0000)
Fixes [YOCTO 6818]

Update do_unpack[cleandirs] to include the STAGING_KERNEL_BUILDDIR, and
add the same set of updated cleandirs for do_clean.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/kernel.bbclass

index a60de8cc9e03d95d01dc6ac7f8d9eb49e4f93e4e..805f7992e0227346a536723684ac0dddd969ae0b 100644 (file)
@@ -40,7 +40,8 @@ python __anonymous () {
 # We need to move these over to STAGING_KERNEL_DIR. We can't just
 # create the symlink in advance as the git fetcher can't cope with
 # the symlink.
-do_unpack[cleandirs] += " ${S} ${STAGING_KERNEL_DIR} ${B}"
+do_unpack[cleandirs] += " ${S} ${STAGING_KERNEL_DIR} ${B} ${STAGING_KERNEL_BUILDDIR}"
+do_clean[cleandirs] += " ${S} ${STAGING_KERNEL_DIR} ${B} ${STAGING_KERNEL_BUILDDIR}"
 base_do_unpack_append () {
     s = d.getVar("S", True)
     if s[-1] == '/':