[meta-freescale] [meta-fsl-arm][PATCH 1/3] u-boot: Rename recipe to u-boot-fsl

Otavio Salvador otavio at ossystems.com.br
Fri Dec 14 07:14:54 PST 2012


On Fri, Dec 14, 2012 at 12:26 PM, Eric Bénard <eric at eukrea.com> wrote:
> Le Fri, 14 Dec 2012 16:15:33 +0200,
> Andrei Gherzan <andrei at gherzan.ro> a écrit :
>> What if uboot will have a git version in oe-core in the future? Or a
>> greater one. How would you fix that? I still think this is a good longterm
>> solution.
>>
> well, in that case the BSP recipe will be used as the layer has a higher
> priority.
>
> And to not have this kind of issue, you can simpy add the following
> lines to your BSP's u-boot recipe :
> DEFAULT_PREFERENCE = "-1"
> DEFAULT_PREFERENCE_machine = "1"
>
> or simply change to a u-boot_git.bbappend to just append your machine
> specific changes to oe-core's default recipe.
>
> or add something like this in your BSP conf file :
> PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
> PREFERRED_VERSION_linux-yocto = "3.4%"
>
> Check 1.2.9 in BSP Guide for examples on how this can be done (example
> for linux-yocto but the use case is the same here).

I agree it is a possible way of doing it however I also think we
should opt for a safe route.

The Andrei's proposal make it harder to it to behave strangely so I
think it is a good option for long term. Another positive result of it
is that the new name makes clear we're not really using u-boot
mainline but mainline + patches. I support this change as it improves
the clearness for new users.

--
Otavio Salvador                             O.S. Systems
E-mail: otavio at ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br



More information about the meta-freescale mailing list