diff options
author | Darren Hart <dvhart@linux.intel.com> | 2015-01-15 11:54:19 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-01-16 23:08:18 +0000 |
commit | 34f3d559504bf438a9a12c1843dbfc5c806721b1 (patch) | |
tree | 11cc61f8d391494c768469dd6d2906b36a18b541 /meta/classes | |
parent | fddf343bec616bbbe3b69b03c180cffe8117356f (diff) | |
download | poky-34f3d559504bf438a9a12c1843dbfc5c806721b1.tar.gz |
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.
(From OE-Core rev: 0726f8099c1407eea9e53a62be94defbab32265e)
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>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/kernel.bbclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index a60de8cc9e..805f7992e0 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass | |||
@@ -40,7 +40,8 @@ python __anonymous () { | |||
40 | # We need to move these over to STAGING_KERNEL_DIR. We can't just | 40 | # We need to move these over to STAGING_KERNEL_DIR. We can't just |
41 | # create the symlink in advance as the git fetcher can't cope with | 41 | # create the symlink in advance as the git fetcher can't cope with |
42 | # the symlink. | 42 | # the symlink. |
43 | do_unpack[cleandirs] += " ${S} ${STAGING_KERNEL_DIR} ${B}" | 43 | do_unpack[cleandirs] += " ${S} ${STAGING_KERNEL_DIR} ${B} ${STAGING_KERNEL_BUILDDIR}" |
44 | do_clean[cleandirs] += " ${S} ${STAGING_KERNEL_DIR} ${B} ${STAGING_KERNEL_BUILDDIR}" | ||
44 | base_do_unpack_append () { | 45 | base_do_unpack_append () { |
45 | s = d.getVar("S", True) | 46 | s = d.getVar("S", True) |
46 | if s[-1] == '/': | 47 | if s[-1] == '/': |