]> code.ossystems Code Review - openembedded-core.git/commitdiff
linux-dummy: Add do_compile_kernelmodules
authorRobert Yang <liezhi.yang@windriver.com>
Thu, 20 Jun 2019 08:15:23 +0000 (16:15 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 20 Jun 2019 23:26:09 +0000 (00:26 +0100)
Fixed:
PREFERRED_PROVIDER_virtual/kernel = "linux-dummy"

$ bitbake world
ERROR: Task do_compile in make-mod-scripts_1.0.bb depends upon non-existent task do_compile_kernelmodules in linux-dummy.bb
ERROR: Command execution failed: Exited with 1

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-kernel/linux/linux-dummy.bb

index e1c7f76760735ac86b829f8e442e4e61fb157eee..62cf6f5ea63b529cabbef0604996bce72bc3cb73 100644 (file)
@@ -39,6 +39,10 @@ do_compile () {
        :
 }
 
+do_compile_kernelmodules() {
+    :
+}
+
 do_shared_workdir () {
        :
 }
@@ -58,3 +62,4 @@ do_deploy() {
 addtask bundle_initramfs after do_install before do_deploy
 addtask deploy after do_install
 addtask shared_workdir after do_compile before do_install
+addtask compile_kernelmodules