summaryrefslogtreecommitdiffstats
path: root/meta/classes/kernel-yocto.bbclass
diff options
context:
space:
mode:
authorMing Liu <liu.ming@toradex.com>2020-03-04 14:55:43 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-03-06 08:17:26 +0000
commit965090f42bc0576e938a0575b7938a1ff60b0018 (patch)
tree14a47fc0d27ed47c984592ac861a93eb82c135e7 /meta/classes/kernel-yocto.bbclass
parentda948b25d5ef452fb35275d108e18d2a2829f4fb (diff)
downloadopenembedded-core-contrib-965090f42bc0576e938a0575b7938a1ff60b0018.tar.gz
kernel-yocto.bbclass: fix a wrong inter-task dependency
do_kernel_checkout and do_symlink_kernsrc are both modifying ${S}, they could conflict with eacher other, move do_kernel_checkout after do_symlink_kernsrc does fix that. Signed-off-by: Ming Liu <liu.ming@toradex.com> Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/kernel-yocto.bbclass')
-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 44863adc27..d71ce212a8 100644
--- a/meta/classes/kernel-yocto.bbclass
+++ b/meta/classes/kernel-yocto.bbclass
@@ -317,7 +317,7 @@ do_kernel_checkout() {
}
do_kernel_checkout[dirs] = "${S}"
-addtask kernel_checkout before do_kernel_metadata after do_unpack
+addtask kernel_checkout before do_kernel_metadata after do_symlink_kernsrc
addtask kernel_metadata after do_validate_branches do_unpack before do_patch
do_kernel_metadata[depends] = "kern-tools-native:do_populate_sysroot"
do_validate_branches[depends] = "kern-tools-native:do_populate_sysroot"