On Tue, 2014-03-04 at 10:28 -0800, nitin.a.kam...@intel.com wrote:
> -        ("virtual/kernel" in provides) and (target_os == "linux-gnux32")):
> +        (("virtual/kernel" in provides) or (KERNEL_MODULE_RECIPE == "1")) 
> and (target_os == "linux-gnux32")):

Can you not use bb.data.inherits_class("module") rather than adding this
extra variable?

Also, out of curiosity, I don't entirely understand how the code above
can possibly work.  KERNEL_MODULE_RECIPE is a bitbake variable that's
either defined to 1 or not defined at all, right?  Is there some special
magic nowadays that allows you to refer to it transparently from python
code without using d.getVar()?

p.


_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to