[yocto] BBMASK issue

Khem Raj raj.khem at gmail.com
Mon Aug 22 19:10:58 PDT 2016


On Mon, Aug 22, 2016 at 6:50 PM, Takashi Matsuzawa
<tmatsuzawa at uievolution.com> wrote:
> Hello Yocto.
>
> Now I am trying to customize an existing BSP to my need.
> For this, I am adding following to my local.conf so that some of the recipes
> in the BSP to be ignored.
>
> (local.conf)
> BBMASK = "aaa|bbb|ccc"
> BBMASK .= "|ddd|eee"
>
> However, it does not work since BSP itself has lines like below in its
> layer.
>
> (somelayer.conf)
> BBMASK = "xxx|yyy|xxx"
>
> The BSP definition of BBMASK seems to be overwriting my BBMASK definition in
> my local.conf.
> I wonder what is the best way so that the both definition are effective.

You can enforce it with something like

BBMASK_forcevariable = "aaa|bbb|ccc"
BBMASK_append = "|ddd|eee"

However, I would suggest that BSP layer should append and not override
as it seems to be doing. Otherwise it will be hard for that BSP to adapt.

>
> I confirmed modifying BSP's definition as below works, but not sure if this
> can be recommended as practice to everyone who provides layers for their
> BSPs.
>
> BBMASK .= "|xxx|yyy|xxx"
>
>
>
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>



More information about the yocto mailing list