[yocto] so how does PACKAGECONFIG_remove really work?

Burton, Ross ross.burton at intel.com
Fri Nov 9 06:40:22 PST 2018


On Fri, 9 Nov 2018 at 14:36, Aditya Tayade <Aditya.Tayade at kpit.com> wrote:
> Can any one please help me to understand PACKAGECONFIG_remove feature
>
>
> Let's take an example of systemd recipe as follows:
>
> PACKAGECONFIG ??= "vconsole"
>
> PACKAGECONFIG[vconsole] = "-Dvconsole=true,-Dvconsole=false,,${PN}-vconsole-setup"
>
>
> Now how should we disable features set in PACKAGECONFIG[vconsole] using PACKAGECONFIG_remove from it's bbappend file?

The _remove override removes a value from a variable. So this will
remove 'vconsole' from the value of PACKAGECONFIG:

PACKAGECONFIG_remove = "vconsole"

Ross


More information about the yocto mailing list