| Submitter | chase maupin |
|---|---|
| Date | March 15, 2011, 1:31 p.m. |
| Message ID | <1300195862-23448-1-git-send-email-Chase.Maupin@ti.com> |
| Download | mbox | patch |
| Permalink | /patch/1409/ |
| State | New, archived |
| Headers | show |
Comments
On Tue, 2011-03-15 at 08:31 -0500, Chase Maupin wrote: > * 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> > --- > meta/recipes-bsp/uboot/u-boot.inc | 3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) Merged to master, thanks. Richard
Patch
diff --git a/meta/recipes-bsp/uboot/u-boot.inc b/meta/recipes-bsp/uboot/u-boot.inc index d1cebee..058e3ba 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 () {
* 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> --- meta/recipes-bsp/uboot/u-boot.inc | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)