[OE-core] [PATCH 3/6] Add new IMAGE_CLASSES variable for classes for image generation

Richard Purdie richard.purdie at linuxfoundation.org
Wed Oct 5 23:53:22 UTC 2011


On Wed, 2011-10-05 at 22:52 +0000, McClintock Matthew-B29882 wrote:
> On Tue, Oct 4, 2011 at 5:03 PM, Matthew McClintock <msm at freescale.com> wrote:
> > -inherit image_types
> > +IMAGE_CLASESS ??= ""
> > +inherit image_types ${IMAGE_CLASSES}
> 
> So this does not work properly, I thought I tested it but... need to
> do something like this:
> 
> IMAGE_CLASSES = "image_types"
> inherit ${IMAGE_CLASSES}
> 
> then let the user added via
> 
> IMAGE_CLASESS += "image_types_uboot"
> 
> then there will always be something that is expanded to avoid this issue:
> 
> ERROR: Could not inherit file classes/$IMAGE_CLASSES.bbclass
>                            | ETA:  --:--:--
> ERROR: Command execution failed: Exited with 1

Its not expanding the variables? :/ This happened even when
IMAGE_CLASSES had a value before the inherit?

> or
> 
> ERROR: Could not inherit file classes/.bbclass
>              | ETA:  --:--:--
> ERROR: Command execution failed: Exited with 1

I'd be prepared to call this last one a bitbake bug...

Cheers,

Richard





More information about the Openembedded-core mailing list