[oe-commits] chase maupin : u-boot.inc: allow variable make targets
git version control
git at git.openembedded.org
Thu Mar 17 07:38:37 UTC 2011
Module: openembedded.git
Branch: org.openembedded.dev
Commit: e65b9e6061a4b4fa50349854eca5032fe256bf1a
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=e65b9e6061a4b4fa50349854eca5032fe256bf1a
Author: chase maupin <chasemaupin03 at gmail.com>
Date: Thu Mar 17 03:02:03 2011 +0000
u-boot.inc: allow variable make targets
* 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 at ti.com>
Signed-off-by: Koen Kooi <koen at openembedded.org>
---
recipes/u-boot/u-boot.inc | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/recipes/u-boot/u-boot.inc b/recipes/u-boot/u-boot.inc
index 88c6a4d..ffd1e1e 100644
--- a/recipes/u-boot/u-boot.inc
+++ b/recipes/u-boot/u-boot.inc
@@ -16,6 +16,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}
@@ -25,7 +26,7 @@ do_compile () {
unset LDFLAGS
unset CFLAGS
unset CPPFLAGS
- oe_runmake all
+ oe_runmake ${UBOOT_MAKE_TARGET}
oe_runmake tools env HOSTCC="${CC}"
}
More information about the Openembedded-commits
mailing list