]> code.ossystems Code Review - openembedded-core.git/commitdiff
kernel-yocto.bbclass: fix a wrong inter-task dependency
authorMing Liu <liu.ming@toradex.com>
Wed, 4 Mar 2020 13:55:43 +0000 (14:55 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 6 Mar 2020 08:17:26 +0000 (08:17 +0000)
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>
meta/classes/kernel-yocto.bbclass

index 44863adc27484414b6bef04dfa78fcce39c0458f..d71ce212a81238a1e5d1f46f1d4728705a00d2e4 100644 (file)
@@ -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"