Openembedded Core Discussions
 help / color / mirror / Atom feed
* [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

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