* Re: [oe-commits] Dmitry Eremin-Solenikov : u-boot: add a recipe for fresh release of u-boot. Also make it default for tqm8540 board
[not found] <E1OYmec-0005TF-MX@melo.openembedded.org>
@ 2010-07-13 22:44 ` Tom Rini
2010-07-14 7:03 ` Frans Meulenbroeks
0 siblings, 1 reply; 2+ messages in thread
From: Tom Rini @ 2010-07-13 22:44 UTC (permalink / raw)
To: openembedded-devel
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@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@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 "
> +
> +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?
--
Tom Rini
Mentor Graphics Corporation
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [oe-commits] Dmitry Eremin-Solenikov : u-boot: add a recipe for fresh release of u-boot. Also make it default for tqm8540 board
2010-07-13 22:44 ` [oe-commits] Dmitry Eremin-Solenikov : u-boot: add a recipe for fresh release of u-boot. Also make it default for tqm8540 board Tom Rini
@ 2010-07-14 7:03 ` Frans Meulenbroeks
0 siblings, 0 replies; 2+ messages in thread
From: Frans Meulenbroeks @ 2010-07-14 7:03 UTC (permalink / raw)
To: openembedded-devel
2010/7/14 Tom Rini <tom_rini@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@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@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@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-07-14 7:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <E1OYmec-0005TF-MX@melo.openembedded.org>
2010-07-13 22:44 ` [oe-commits] Dmitry Eremin-Solenikov : u-boot: add a recipe for fresh release of u-boot. Also make it default for tqm8540 board Tom Rini
2010-07-14 7:03 ` Frans Meulenbroeks
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.