On Mon, Aug 22, 2016 at 6:50 PM, Takashi Matsuzawa <tmatsuz...@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. > > 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"
This isn't safe. It will only work if a default value for BBMASK is set elsewhere. If not, then you end up with a BBMASK which begins with "|", which effectively masks _every_ recipe. > -- > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto > -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto