summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2015-09-08 13:58:13 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-09 14:25:02 +0100
commit8939ea428f642fd6fa48807ded1f9040f09ed375 (patch)
treea200c20d009061315aa6bffb0da9c0592e3df8d5 /meta/classes
parentb746280c955f48835d119f3fe637876faae6df97 (diff)
downloadopenembedded-core-8939ea428f642fd6fa48807ded1f9040f09ed375.tar.gz
openembedded-core-8939ea428f642fd6fa48807ded1f9040f09ed375.tar.bz2
openembedded-core-8939ea428f642fd6fa48807ded1f9040f09ed375.zip
kernel-yocto.bbclass: do_kernel_metadata depends on do_unpack
Make sure that 'do_unpack' is executed before 'do_kernel_metadata'. Enabling externalsrc for kernel disables 'do_validate_branches' task which caused 'do_kernel_metadata' to fail as the dependency chain to 'do_unpack' got broken. [YOCTO #6658] Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/kernel-yocto.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass
index 231e08deba..325f94c735 100644
--- a/meta/classes/kernel-yocto.bbclass
+++ b/meta/classes/kernel-yocto.bbclass
@@ -228,7 +228,7 @@ do_kernel_checkout() {
do_kernel_checkout[dirs] = "${S}"
addtask kernel_checkout before do_kernel_metadata after do_unpack
-addtask kernel_metadata after do_validate_branches before do_patch
+addtask kernel_metadata after do_validate_branches do_unpack before do_patch
do_kernel_metadata[depends] = "kern-tools-native:do_populate_sysroot"
do_kernel_configme[dirs] += "${S} ${B}"