Skip to contentSkip to conversation

different EXTRA_OECONF per package based on image recipe

DISCUSSION Karl Hiramoto 2 participants 2 messages Oct 28, 2013 – Oct 31, 2013

lore
Share & tools
lore
#0 lore raw

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.

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

#1 lore raw
Quoted 6 lines · Karl Hiramoto

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.

Quoted 17 lines

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
[email protected]
https://lists.yoctoproject.org/listinfo/yocto