* [PATCH][angstrom-layers] u-boot.inc: allow variable make targets
@ 2011-03-15 13:30 Chase Maupin
2011-03-15 16:34 ` Koen Kooi
0 siblings, 1 reply; 4+ messages in thread
From: Chase Maupin @ 2011-03-15 13:30 UTC (permalink / raw)
To: openembedded-core; +Cc: Chase Maupin
* Later versions of u-boot sometimes have top level make targets
such as u-boot.imx, u-boot.kwb, and for upcoming TI devices
u-boot.ti.
* These targets define different calls to the mkimage tool to
change the images created, such as changing the load address.
* This change allows recipes to change the default make target
of "all" to something like u-boot.ti or u-boot.imx by setting
the UBOOT_MAKE_TARGET variable.
Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
---
BSP/TI/recipes-bsp/u-boot/u-boot.inc | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/BSP/TI/recipes-bsp/u-boot/u-boot.inc b/BSP/TI/recipes-bsp/u-boot/u-boot.inc
index 3859a4c..3a9a72f 100644
--- a/BSP/TI/recipes-bsp/u-boot/u-boot.inc
+++ b/BSP/TI/recipes-bsp/u-boot/u-boot.inc
@@ -18,6 +18,7 @@ UBOOT_MACHINE ?= "${MACHINE}_config"
UBOOT_BINARY ?= "u-boot.bin"
UBOOT_IMAGE ?= "u-boot-${MACHINE}-${PV}-${PR}.bin"
UBOOT_SYMLINK ?= "u-boot-${MACHINE}.bin"
+UBOOT_MAKE_TARGET ?= "all"
do_configure () {
oe_runmake ${UBOOT_MACHINE}
@@ -27,7 +28,7 @@ do_compile () {
unset LDFLAGS
unset CFLAGS
unset CPPFLAGS
- oe_runmake all
+ oe_runmake ${UBOOT_MAKE_TARGET}
oe_runmake tools env
}
--
1.7.0.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH][angstrom-layers] u-boot.inc: allow variable make targets
2011-03-15 13:30 [PATCH][angstrom-layers] u-boot.inc: allow variable make targets Chase Maupin
@ 2011-03-15 16:34 ` Koen Kooi
2011-03-15 21:04 ` Tom Rini
0 siblings, 1 reply; 4+ messages in thread
From: Koen Kooi @ 2011-03-15 16:34 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer; +Cc: Chase Maupin
Op 15 mrt 2011, om 14:30 heeft Chase Maupin het volgende geschreven:
> * Later versions of u-boot sometimes have top level make targets
> such as u-boot.imx, u-boot.kwb, and for upcoming TI devices
> u-boot.ti.
> * These targets define different calls to the mkimage tool to
> change the images created, such as changing the load address.
> * This change allows recipes to change the default make target
> of "all" to something like u-boot.ti or u-boot.imx by setting
> the UBOOT_MAKE_TARGET variable.
>
> Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
> ---
> BSP/TI/recipes-bsp/u-boot/u-boot.inc | 3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)
Thanks, pushed to angstrom-layers master.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH][angstrom-layers] u-boot.inc: allow variable make targets
2011-03-15 16:34 ` Koen Kooi
@ 2011-03-15 21:04 ` Tom Rini
2011-03-15 21:37 ` Koen Kooi
0 siblings, 1 reply; 4+ messages in thread
From: Tom Rini @ 2011-03-15 21:04 UTC (permalink / raw)
To: openembedded-core
On 03/15/2011 09:34 AM, Koen Kooi wrote:
>
> Op 15 mrt 2011, om 14:30 heeft Chase Maupin het volgende geschreven:
>
>> * Later versions of u-boot sometimes have top level make targets
>> such as u-boot.imx, u-boot.kwb, and for upcoming TI devices
>> u-boot.ti.
>> * These targets define different calls to the mkimage tool to
>> change the images created, such as changing the load address.
>> * This change allows recipes to change the default make target
>> of "all" to something like u-boot.ti or u-boot.imx by setting
>> the UBOOT_MAKE_TARGET variable.
>>
>> Signed-off-by: Chase Maupin<Chase.Maupin@ti.com>
>> ---
>> BSP/TI/recipes-bsp/u-boot/u-boot.inc | 3 ++-
>> 1 files changed, 2 insertions(+), 1 deletions(-)
>
> Thanks, pushed to angstrom-layers master.
Anyone have an opinion about for oe-core itself?
--
Tom Rini
Mentor Graphics Corporation
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH][angstrom-layers] u-boot.inc: allow variable make targets
2011-03-15 21:04 ` Tom Rini
@ 2011-03-15 21:37 ` Koen Kooi
0 siblings, 0 replies; 4+ messages in thread
From: Koen Kooi @ 2011-03-15 21:37 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
Cc: <openembedded-core@lists.openembedded.org>
imo it can go in. I'll look at the differences between oe-core and angstrom-layers later.
Op 15 mrt. 2011 om 22:04 heeft Tom Rini <tom_rini@mentor.com> het volgende geschreven:
> On 03/15/2011 09:34 AM, Koen Kooi wrote:
>>
>> Op 15 mrt 2011, om 14:30 heeft Chase Maupin het volgende geschreven:
>>
>>> * Later versions of u-boot sometimes have top level make targets
>>> such as u-boot.imx, u-boot.kwb, and for upcoming TI devices
>>> u-boot.ti.
>>> * These targets define different calls to the mkimage tool to
>>> change the images created, such as changing the load address.
>>> * This change allows recipes to change the default make target
>>> of "all" to something like u-boot.ti or u-boot.imx by setting
>>> the UBOOT_MAKE_TARGET variable.
>>>
>>> Signed-off-by: Chase Maupin<Chase.Maupin@ti.com>
>>> ---
>>> BSP/TI/recipes-bsp/u-boot/u-boot.inc | 3 ++-
>>> 1 files changed, 2 insertions(+), 1 deletions(-)
>>
>> Thanks, pushed to angstrom-layers master.
>
> Anyone have an opinion about for oe-core itself?
>
> --
> Tom Rini
> Mentor Graphics Corporation
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-03-15 21:39 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-15 13:30 [PATCH][angstrom-layers] u-boot.inc: allow variable make targets Chase Maupin
2011-03-15 16:34 ` Koen Kooi
2011-03-15 21:04 ` Tom Rini
2011-03-15 21:37 ` Koen Kooi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox