aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp
diff options
context:
space:
mode:
authorChase Maupin <chasemaupin03@gmail.com>2011-03-15 08:31:01 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-03-16 13:18:10 +0000
commit1e675fac4f7f22028700d7c5bc376d029af592e0 (patch)
treec8fa9403dcaf401ba5ac1b380d13665028de8f19 /meta/recipes-bsp
parenta39610f0ac4c77f225671916610f78a18ff70350 (diff)
downloadopenembedded-core-contrib-1e675fac4f7f22028700d7c5bc376d029af592e0.tar.gz
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@ti.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp')
-rw-r--r--meta/recipes-bsp/uboot/u-boot.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-bsp/uboot/u-boot.inc b/meta/recipes-bsp/uboot/u-boot.inc
index d1cebeedfb..058e3bad1c 100644
--- a/meta/recipes-bsp/uboot/u-boot.inc
+++ b/meta/recipes-bsp/uboot/u-boot.inc
@@ -14,13 +14,14 @@ EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} OPTFLAGS='-O2'"
UBOOT_MACHINE ?= "${MACHINE}_config"
UBOOT_IMAGE ?= "u-boot-${MACHINE}-${PV}-${PR}.bin"
UBOOT_SYMLINK ?= "u-boot-${MACHINE}.bin"
+UBOOT_MAKE_TARGET ?= "all"
do_compile () {
unset LDFLAGS
unset CFLAGS
unset CPPFLAGS
oe_runmake ${UBOOT_MACHINE}
- oe_runmake all
+ oe_runmake ${UBOOT_MAKE_TARGET}
}
do_deploy () {