[oe] u-boot-utils and UBOOT_MACHINE?

Tom Rini tom_rini at mentor.com
Wed Mar 9 17:12:03 UTC 2011


On 03/09/2011 03:42 AM, Steffen Sledz wrote:
> The current recipe for the u-boot-utils (u-boot-utils_1.2.0.bb) contains this:
>
> ------------------->snip<--------------------
> do_configure() {
>          oe_runmake Sandpoint8240_config
> }
> ------------------->snip<--------------------
>
> This seems to be very machine specific.
>
> I'm not a u-boot-tools specialist. If the tools are not machine specific and the above line is just a placeholder, this should be documented.
>
> But if the tools itself are machine specific i believe there should be something like
>
> ------------------->snip<--------------------
> do_configure() {
>          oe_runmake ${UBOOT_MACHINE}
> }
> ------------------->snip<--------------------
>
> and package build should go into machine specific workdir. Right?

So, currently, and modulo the config files that are shipped per-BSP 
anyhow, the utils that are made are generic.  It's possible, but I 
haven't confirmed, that both this and u-boot-mkimage could just build 
sans a config target, since it's just building in the tools subdir.

-- 
Tom Rini
Mentor Graphics Corporation




More information about the Openembedded-devel mailing list