[oe] [oe-commits] Dmitry Eremin-Solenikov : u-boot: add a recipe for fresh release of u-boot. Also make it default for tqm8540 board

Frans Meulenbroeks fransmeulenbroeks at gmail.com
Wed Jul 14 07:03:15 UTC 2010


2010/7/14 Tom Rini <tom_rini at mentor.com>

> git version control wrote:
>
>> Module: openembedded.git
>> Branch: org.openembedded.dev
>> Commit: e1a3091c2417994a798b51bc6d6cac1d52799865
>> URL:
>> http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=e1a3091c2417994a798b51bc6d6cac1d52799865
>>
>> Author: Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>
>> Date:   Wed Jul 14 00:01:39 2010 +0400
>>
>> u-boot: add a recipe for fresh release of u-boot. Also make it default for
>> tqm8540 board
>>
>> Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>
>>
>> ---
>>
>>  recipes/u-boot/u-boot_2010.06.bb |   20 ++++++++++++++++++++
>>  1 files changed, 20 insertions(+), 0 deletions(-)
>>
>> diff --git a/recipes/u-boot/u-boot_2010.06.bb b/recipes/u-boot/
>> u-boot_2010.06.bb
>> new file mode 100644
>> index 0000000..73dea39
>> --- /dev/null
>> +++ b/recipes/u-boot/u-boot_2010.06.bb
>> @@ -0,0 +1,20 @@
>> +PR = "r1"
>> +require u-boot.inc
>> +
>> +DEFAULT_PREFERENCE = "-1"
>> +DEFAULT_PREFERENCE_tqm8540 = "1"
>> +
>> +SRC_URI = "ftp://ftp.denx.de/pub/u-boot/u-boot-${PV}.tar.bz2<ftp://ftp.denx.de/pub/u-boot/u-boot-$%7BPV%7D.tar.bz2>"
>> +
>> +TARGET_LDFLAGS = ""
>> +
>> +inherit base
>> +
>> +do_compile () {
>> +       oe_runmake ${UBOOT_MACHINE}
>> +       oe_runmake all
>> +}
>>
>
> I know this isn't new.  Why is the oe_runmake ${UBOOT_MACHINE}, which is
> basically "configure u-boot for this machine" in do_compile and not
> do_configure?
>

I suspect this is because it happens in some other recipes.

There is an issue if you want to generate multiple u-boot binaries in one
recipe (like the gta guys do, and like I had to do for mpc8536 which has
different u-boots for sd, spi flash and nand).
Typically what you then get is multiple lines like given above in
do_compile.


> --
> Tom Rini
> Mentor Graphics Corporation
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>



More information about the Openembedded-devel mailing list