[OE-core] [PATCH] module.bbclass: Add devshell support

Stefan Wiehler stefan.wiehler at missinglinkelectronics.com
Fri May 5 14:45:44 UTC 2017


 >> diff --git a/meta/classes/module.bbclass b/meta/classes/module.bbclass
 >> index 802476bc7a..9b019513ae 100644
 >> --- a/meta/classes/module.bbclass
 >> +++ b/meta/classes/module.bbclass
 >> @@ -1,6 +1,7 @@
 >>  inherit module-base kernel-module-split pkgconfig
 >>
 >>  addtask make_scripts after do_prepare_recipe_sysroot before do_compile
 >> +addtask make_scripts after do_prepare_recipe_sysroot before do_devshell
 >
 > For normal recipes, devshell doesn't care about any build dependencies
 > (and so runs very quickly if you just need to refresh a patch etc). If
 > you need a devshell which is able to build something then the normal
 > way would be to manually run the configure or compile task before the
 > devshell task.
 >
 > I'm not sure of kernel modules are a special enough case to do things
 > differently and add build dependencies to the devshell task?

I agree, I couldn't find any other class having devshell task dependencies.



More information about the Openembedded-core mailing list