[oe] how to know why bitbake will pick a wrong .bb file after providing PREFERRED_PROVIDER value

Khem Raj raj.khem at gmail.com
Sat Jan 29 05:53:53 UTC 2011


On Fri, Jan 28, 2011 at 1:37 PM, srinredplano SP <srinredplano at gmail.com> wrote:
>
> *linux-omap3axon-2.6.22-pspaxon.bb* file :
> #####linux-omap3axon-2.6.22-pspaxon.bb ##
>

This would make PN of your recipe to be linux-omap3axon-2.6.22-pspaxon
you probably dont want that you should name it something like
linux-omap3axon-pspaxon_2.6.22.bb

then in your <machine.conf> add
PREFERRED_PROVIDER_virtual/kernel = "linux-omap3axon-pspaxon"

in linux-omap3axon-pspaxon_2.6.22.bb you can add
DEFAULT_PREFERENCE_<yourmachine> = "1"

-khem




More information about the Openembedded-devel mailing list