Thanks Ross.

Regards,

Aditya Tayade

________________________________
From: Burton, Ross <[email protected]>
Sent: Friday, November 9, 2018 8:10:22 PM
To: Aditya Tayade
Cc: Yocto-mailing-list
Subject: Re: [yocto] so how does PACKAGECONFIG_remove really work?

On Fri, 9 Nov 2018 at 14:36, Aditya Tayade <[email protected]> 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
This message contains information that may be privileged or confidential and is 
the property of the KPIT Technologies Ltd. It is intended only for the person 
to whom it is addressed. If you are not the intended recipient, you are not 
authorized to read, print, retain copy, disseminate, distribute, or use this 
message or any part thereof. If you receive this message in error, please 
notify the sender immediately and delete all copies of this message. KPIT 
Technologies Ltd. does not accept any liability for virus infected mails.
-- 
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to