[OE-core] [PATCH] kernel-yocto.bbclass: fix a wrong inter-task dependency

Stefan Agner stefan at agner.ch
Wed Mar 4 13:55:43 UTC 2020


From: Ming Liu <liu.ming at toradex.com>

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 at toradex.com>
Signed-off-by: Stefan Agner <stefan.agner at toradex.com>
---
 meta/classes/kernel-yocto.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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"
-- 
2.25.0



More information about the Openembedded-core mailing list