* [PATCH] kernel: Clean ${S} before unpack
@ 2014-12-18 12:06 Richard Purdie
0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2014-12-18 12:06 UTC (permalink / raw)
To: openembedded-core
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.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 3480414..9790f4d 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
S = "${STAGING_DIR_TARGET}/${KERNEL_SRC_PATH}"
+do_unpack[cleandirs] = "${S}"
+
# we include gcc above, we dont need virtual/libc
INHIBIT_DEFAULT_DEPS = "1"
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2014-12-18 12:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-18 12:06 [PATCH] kernel: Clean ${S} before unpack Richard Purdie
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.