diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-12-18 11:41:58 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-12-21 12:37:53 +0000 |
commit | 63695c6353d091ee7f7f0134f11a551f0a5eddcf (patch) | |
tree | 9ec21969d416e572fd8e5b44571470a8e67fe8e5 /meta/classes/kernel.bbclass | |
parent | d0857f4ae3f6e4de3c5258c43aa539b9680bbf25 (diff) | |
download | poky-63695c6353d091ee7f7f0134f11a551f0a5eddcf.tar.gz |
kernel: Clean ${S} before unpack
Currently unpack just forces sources over the current files. This change
ensures ${S} is cleaned out before sources are unpacked. This resolves
issues seen when upgrading to the new kernel class changes.
Ultimately, this should probably move to base.bbclass but one step at a
time, this solves an immediate problem blocking the other patches from
merging.
(From OE-Core rev: 7deb1f670c188c24744b7888a2d2f73c2a8ddff7)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/kernel.bbclass')
-rw-r--r-- | meta/classes/kernel.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index 6eb87acf06..c9e1c363e8 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass | |||
@@ -5,6 +5,8 @@ DEPENDS += "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}gcc kmod-na | |||
5 | 5 | ||
6 | S = "${STAGING_DIR_TARGET}/${KERNEL_SRC_PATH}" | 6 | S = "${STAGING_DIR_TARGET}/${KERNEL_SRC_PATH}" |
7 | 7 | ||
8 | do_unpack[cleandirs] = "${S}" | ||
9 | |||
8 | # we include gcc above, we dont need virtual/libc | 10 | # we include gcc above, we dont need virtual/libc |
9 | INHIBIT_DEFAULT_DEPS = "1" | 11 | INHIBIT_DEFAULT_DEPS = "1" |
10 | 12 | ||