[OE-core] inheirt multi bbclass using variable

Chris Larson clarson at kergoth.com
Mon Dec 12 00:10:33 UTC 2011


On Sun, Dec 11, 2011 at 4:45 PM, McClintock Matthew-B29882
<B29882 at freescale.com> wrote:
> On Fri, Dec 9, 2011 at 2:35 AM, Ni Qingliang <niqingliang at insigma.com.cn> wrote:
>> I'm trying to inherit multi bbclass using variable:
>>
>> IMAGE_EXTRA_CLASSES = "image-timezone image-clearboot image-prd"
>> inherit ${IMAGE_EXTRA_CLASSES}
>>
>> and got error:
>> ERROR: Could not inherit file classes/image-timezone image-clearboot
>> image-prd.bbclass
>>
>> why it treat the variable as a single class?
>> how to resolve the problem?
>
> There are some issues with inherit. I've seen a similar issue with:
>
> IMAGE_EXTRA_CLASSES = ""
> inherit ${IMAGE_EXTRA_CLASSES}
>
> ERROR: Could not inherit file classes/.bbclass

To be fair, in this case, it's doing exactly what you told it to do --
inherit an empty string.
-- 
Christopher Larson




More information about the Openembedded-core mailing list