[OE-core] [PATCH 1/1] QA_check: special case kernel modules for x32 targets

Phil Blundell pb at pbcl.net
Tue Mar 4 21:38:11 UTC 2014


On Tue, 2014-03-04 at 10:28 -0800, nitin.a.kamble at 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.





More information about the Openembedded-core mailing list