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

2014-06-05 Thread Rudolf Streif
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"  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  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
> >  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
> >>
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


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

2014-06-05 Thread Insop Song
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  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
>  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
>>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


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

2014-06-04 Thread Insop Song
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
 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
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


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

2014-06-04 Thread Rudolf Streif
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
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


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

2014-06-04 Thread Insop Song
Hi All,

I want include "u-boot-fw-utils" to my image.

I want to include "u-boot-fw-utils_2013.01.01.bb", but
"u-boot-fw-utils_2011.06.bb" is included if I added it in my image
like following

IMAGE_INSTALL += " \
...
u-boot-fw-utils \
"

Question:
- how to specify bb file when there are multiple of them like followings?



$ du . -a | grep u-boot-fw


12 ./meta/recipes-bsp/u-boot/u-boot-fw-utils_2013.01.01.bb
12 ./meta/recipes-bsp/u-boot/u-boot-fw-utils_2011.06.bb

Thank you,

ISS
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto