[OE-core] [PATCH 1/1] QA_check: special case kernel modules for x32 targets
Kamble, Nitin A
nitin.a.kamble at intel.com
Tue Mar 4 22:26:33 UTC 2014
On 3/4/2014 1:38 PM, Phil Blundell wrote:
> 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?
This would simplify the code.
> 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()?
There is no such special magic. This fix need to be fixed.
Thanks,
Nitin
> p.
>
>
More information about the Openembedded-core
mailing list