summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2014-12-21 13:50:35 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-12-21 13:51:29 +0000
commitc3598cf720e04ab27ab5d2817c09f2496b677560 (patch)
tree87bb5457b9f425525038098ae6068cbc0cd93ca9
parentfd970c3b42b39601f379300d83354d42d5a536ba (diff)
downloadopenembedded-core-contrib-c3598cf720e04ab27ab5d2817c09f2496b677560.tar.gz
openembedded-core-contrib-c3598cf720e04ab27ab5d2817c09f2496b677560.tar.bz2
openembedded-core-contrib-c3598cf720e04ab27ab5d2817c09f2496b677560.zip
kernel-devsrc: Ensure we have a dependency on the actual source
Tthe kernel populate_sysroot can come from sstate, we need the full source here. We therefore depend on the configure task which isn't covered by sstate to ensure we get the right set of files. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-kernel/linux/kernel-devsrc.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-kernel/linux/kernel-devsrc.bb b/meta/recipes-kernel/linux/kernel-devsrc.bb
index 9fb761b46b..dbb3a5c581 100644
--- a/meta/recipes-kernel/linux/kernel-devsrc.bb
+++ b/meta/recipes-kernel/linux/kernel-devsrc.bb
@@ -16,6 +16,8 @@ inherit module-base
# We need the kernel to be staged (unpacked, patched and configured) before
# we can grab the source and make the kernel-devsrc package
do_install[depends] += "virtual/kernel:do_populate_sysroot"
+# Need the source, not just the output of populate_sysroot
+do_install[depends] += "virtual/kernel:do_configure"
# There's nothing to do here, except install the source where we can package it
do_fetch[noexec] = "1"