[oe] u-boot-utils badness

Frans Meulenbroeks fransmeulenbroeks at gmail.com
Thu Jul 15 06:41:07 UTC 2010


Incidentally I stumbled upon u-boot-utils.
This recipe did not seem too good.

We only have a version for 1.2.
Guess u-boot tools do not change that much, but still it seems somewhat odd.

It's do_compile reads:

do_compile () {
        oe_runmake Sandpoint8240_config
        oe_runmake tools
}

Which is also somewhat odd. Probably the u-boot env is fairlly standard, but
still it seems odd to have Sandpoint8240 there (especially since I could not
even relate it to a machine in oe).

Furthermore the recipe seems mostly useless anyway as u-boot itself also
generates the tools.
>From u-boot.inc:

do_compile () {
        unset LDFLAGS
        unset CFLAGS
        unset CPPFLAGS
        oe_runmake ${UBOOT_MACHINE}
        oe_runmake all
        oe_runmake tools env
}

So there seems to be enough reason to nuke this recipe, but ...

A quick grep learned that there are several machines that recommend or
depend on this.

frans at frans-desktop:~/workspace/gtd/openembedded.git$ grep u-boot-utils -r
conf
conf/machine/lsmipsel.conf:MACHINE_EXTRA_RRECOMMENDS    = "u-boot-utils"
conf/machine/include/lsppc.inc:MACHINE_EXTRA_RRECOMMENDS = "u-boot-utils"
conf/machine/n1200.conf:MACHINE_EXTRA_RRECOMMENDS       = "temper
u-boot-utils"
conf/machine/kuropro.conf:MACHINE_EXTRA_RDEPENDS          = "micro-evtd
u-boot-utils"
conf/machine/openrd-base.conf:MACHINE_EXTRA_RDEPENDS          =
"u-boot-utils"
conf/machine/sheevaplug.conf:MACHINE_EXTRA_RDEPENDS          =
"u-boot-utils"
conf/machine/storcenter.conf:MACHINE_EXTRA_RDEPENDS = "u-boot-utils xfsprogs
sccd"
conf/machine/lspro.conf:MACHINE_EXTRA_RDEPENDS          = "micro-evtd
u-boot-utils"
conf/machine/mv2120.conf:MACHINE_EXTRA_RDEPENDS          = "u-boot-utils"
conf/machine/tsx09.conf:MACHINE_EXTRA_RDEPENDS                          =
"u-boot-utils piccontrol"
conf/machine/dns323.conf:MACHINE_EXTRA_RDEPENDS          = "u-boot-utils"
conf/machine/openrd-client.conf:MACHINE_EXTRA_RDEPENDS          =
"u-boot-utils"
conf/distro/include/preferred-om-2008-versions.inc:PREFERRED_VERSION_u-boot-utils
?= "1.2.0"

and in recipes:
frans at frans-desktop:~/workspace/gtd/openembedded.git$ grep -r u-boot-utils
recipes
recipes/tasks/task-openprotium.bb:DISTRO_EXTRA_RDEPENDS += "u-boot-utils"
recipes/linux/linux-gumstix_2.6.15.bb:DEPENDS = "u-boot-utils-native"
recipes/linux/linux-turbostation_2.6.20.2.bb:DEPENDS = "u-boot-utils-native"
recipes/linux/linux-bd-neon-2.6_2.6.22.bb:DEPENDS += "u-boot-utils-native

How to deal with this???

Frans



More information about the Openembedded-devel mailing list