[yocto] how to specify if multiple bb files are existing

Rudolf Streif rstreif at linuxfoundation.org
Thu Jun 5 12:12:06 PDT 2014


Excellent, that is what I expected. Glad you found the root cause. I am not
exactly a friend of setting DEFAULT_PREFERRENCE  in a recipe because it
leads to these confusing issues.
On Jun 5, 2014 11:11 AM, "Insop Song" <insop.song at gmail.com> wrote:

> Hi Rudi,
>
>
> I looked more and found out that the reason why 2013.01.01.bb, which
> is the latest, was not picked was due to "DEFAULT_PREFERENCE = -1" in
> that file.
>
> I was using this file from here :
>
> http://git.freescale.com/git/cgit.cgi/ppc/sdk/poky.git/tree/meta/recipes-bsp/u-boot/u-boot-fw-utils_2013.01.01.bb?h=dylan
>
> Thank you.
>
> ISS
>
> On Wed, Jun 4, 2014 at 7:27 PM, Insop Song <insop.song at gmail.com> wrote:
> > Hi Rudi,
> >
> > Thank you very much for your help.
> > I've added PREFERRED_VERSION and started build.
> >
> > Regards,
> >
> > Insop
> >
> > On Wed, Jun 4, 2014 at 6:37 PM, Rudolf Streif
> > <rstreif at linuxfoundation.org> wrote:
> >> Hi Insop,
> >>
> >> Technically u-boot-fw-utils_2013.01.01 should be used because it's the
> newer
> >> version. However, you can explicitly specify
> >>
> >> PREFERRED_VERSION_u-boot-fw-utils = "2013.01.01"
> >>
> >> Cheers,
> >> Rudi
> >>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20140605/e0925110/attachment.html>


More information about the yocto mailing list