[OE-core] inheirt multi bbclass using variable

McClintock Matthew-B29882 B29882 at freescale.com
Tue Dec 13 23:51:08 UTC 2011


On Sun, Dec 11, 2011 at 7:11 PM, Khem Raj <raj.khem at gmail.com> wrote:
>> To clarify, my case was more like this:
>>
>> IMAGE_EXTRA_CLASSES = "${SOME_CFG_VAR}"
>> inherit some_class.bbclass ${IMAGE_EXTRA_CLASSES}
>
> I think you are expecting C like behavour where variables/macros are
> expanded before keywords

Does that mean this would work:

IMAGE_EXTRA_CLASSES := "${SOME_CFG_VAR}"
inherit some_class.bbclass ${IMAGE_EXTRA_CLASSES}

I just assumed if ${IMAGE_EXTRA_CLASSES} was blank the above inherit would work.

-M




More information about the Openembedded-core mailing list