[meta-freescale] adding new IMAGE_CLASSES with meta-freescale

Otavio Salvador otavio at ossystems.com.br
Wed Feb 11 03:03:45 PST 2015


Hello,

On Wed, Feb 11, 2015 at 8:55 AM, Aurele Traynard
<aurele.traynard at gmail.com> wrote:
> I'm trying to add a new image type (in my own layer), when I try to use
> IMAGE_CLASSES it seems to be overriden by
> ./meta-fsl-arm/conf/machine/include/fsl-default-settings.inc.
>
>
> to be clear :
> If I set
> IMAGE_CLASSES += "image_types_aurele"
> IMAGE_FSTYPES += "aurelesdcard"
> without modifying anything bitbake complains because "aurelesdcard" is
> unknown (not clear because it displays python code but it complains about
> IMAGE_CMD)
>
> If I modify ./meta-fsl-arm/conf/machine/include/fsl-default-settings.inc
> everything works.
> the modification :
> IMAGE_CLASSES += "image_types_fsl" (instead of IMAGE_CLASSES =
> "image_types_fsl")
>
>
> Did I missed something? Is there another way to add image types?
> Thanks

Your proposed fix is right. Please prepare a formal patch and send it
for our master branch.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


More information about the meta-freescale mailing list