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

McClintock Matthew-B29882 B29882 at freescale.com
Thu Oct 6 00:25:14 UTC 2011


On Wed, Oct 5, 2011 at 6:53 PM, Richard Purdie
<richard.purdie at linuxfoundation.org> wrote:
>> 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?

If I added a IMAGE_CLASSES to something other than "" it worked fine.
If I left it as "" it tried to expand the blank var and look in the
BBPATHS or wherever it looks for classes for an unnamed ".bbclass"
file.

-M




More information about the Openembedded-core mailing list