[yocto] Enable PACKAGECONFIG Feature

Burton, Ross ross.burton at intel.com
Wed Dec 12 02:14:37 PST 2018


On Wed, 12 Dec 2018 at 03:42, Mohamed Youseif
<MohamedYouseif at outlook.com> wrote:
> I'm asking about how to enable PACKAGECONFIG feature from local.conf file, let's say that i have the following pacakgeconfig in a recipe
> PACKAGECONFIG = " f1 f2  "
> PACKAGECONFIG[f1] = "-DENABLE_f1=ON,-DENABLE_f1=OFF,f1,"
>
> so i need to add line in local.conf file to enable this feature for my image?
> I tried to use the following line to loca.conf but it does not help:
>
> PACKAGECONFIG_pn-<my-recipe-name>_append = "-DENABLE_f1=ON"

This is covered in the documentation:

https://www.yoctoproject.org/docs/2.6/ref-manual/ref-manual.html#var-PACKAGECONFIG

Ross


More information about the yocto mailing list