On Thu, Feb 2, 2017 at 4:15 AM, Takashi Matsuzawa <tmatsuz...@xevo.com> wrote:
> Hello Yoct.
>
> Say, BSP defines something like this.
>
> BBMASK .= "|msta-xxxx/xxxx/yyyy.bb"
>
> Then I want to cancel this within my local.conf.  Should putting below in my
> local.conf works? (Or within my bistro/zzzz.conf?)
>
> BBMASK_remove = "|msta-xxxx/xxxx/yyyy.bb"

No, it won't work (_remove only works on variables which contain items
separated by whitespace).

As a workaround for Yocto 2.0 and earlier, you can over-ride the
complete final value of BBMASK from your local.conf.

If you are using Yocto 2.1 or later then BBMASK does support multiple
whitespace separated regular expressions. So then you can update the
BSP layer to use:

  BBMASK += "msta-xxxx/xxxx/yyyy.bb"

and then:

  BBMASK_remove = "msta-xxxx/xxxx/yyyy.bb"

from local.conf should work.

For reference, see:

  
http://cgit.openembedded.org/bitbake/commit/?id=2c778ad50aceaffb855baf5f4aa0fed98c880870

>
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to