[OE-core] inheirt multi bbclass using variable

McClintock Matthew-B29882 B29882 at freescale.com
Sun Dec 11 23:45:25 UTC 2011


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

I'd suggest filing a bug against bitbake unless someone else has some
advice here.

-M


More information about the Openembedded-core mailing list