[oe-commits] Darren Hart : kernel.bbclass: Update cleandirs to remove new kernel staging dirs

git at git.openembedded.org git at git.openembedded.org
Thu Jan 15 12:08:57 UTC 2015


Module: openembedded-core.git
Branch: master-next
Commit: 238ad1f63ca0ac7c366fa0a15958e96268e36b34
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=238ad1f63ca0ac7c366fa0a15958e96268e36b34

Author: Darren Hart <dvhart at linux.intel.com>
Date:   Thu Jan 15 11:54:19 2015 +0000

kernel.bbclass: Update cleandirs to remove new kernel staging dirs

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 at linux.intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield at windriver.com>
Signed-off-by: Ross Burton <ross.burton at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/classes/kernel.bbclass | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index a60de8c..805f799 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -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] == '/':



More information about the Openembedded-commits mailing list