[yocto] different EXTRA_OECONF per package based on image recipe

Khem Raj raj.khem at gmail.com
Wed Oct 30 20:48:02 PDT 2013


On Mon, Oct 28, 2013 at 2:15 AM, Karl Hiramoto <karl at hiramoto.org> wrote:
>
> Hi,
>
> In my overlay i have different Machines with different images that are
> built.    In a couple of packages i need different autoconf configure args
> based on the  machine or image.

hmm, I would suggest to add PACKAGECONFIG but if you depend on machine
for deciding what options to use then you might turn these recipes
into machine specific and add EXTRA_OECONF_yourmachine = "x y z"
and stuff like that. Try to avoid machine dependencies on generic
recipes as much as you can.

>
> Is the best way to do this via PACKAGECONFIG, create multiple overlays for
> machine1, machine2, machine3, and common?     Is there a better way?
>
>
> Is there an example somewhere of different package configurations for
> different images?
>
> thanks
>
> Karl
>
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>



More information about the yocto mailing list