summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c1af7e3)
raw | patch | inline | side by side (parent: c1af7e3)
author | Chase Maupin <chasemaupin03@gmail.com> | |
Tue, 15 Mar 2011 13:30:41 +0000 (08:30 -0500) | ||
committer | Koen Kooi <koen@dominion.thruhere.net> | |
Tue, 15 Mar 2011 16:32:56 +0000 (17:32 +0100) |
* 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: Koen Kooi <koen@dominion.thruhere.net>
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: Koen Kooi <koen@dominion.thruhere.net>
recipes-bsp/u-boot/u-boot.inc | patch | blob | history |
index 3859a4c3d60402ead90c090762990edc4add27b8..3a9a72f6b6c8b80de690ddf2837ce6d7f93d479c 100644 (file)
UBOOT_BINARY ?= "u-boot.bin"
UBOOT_IMAGE ?= "u-boot-${MACHINE}-${PV}-${PR}.bin"
UBOOT_SYMLINK ?= "u-boot-${MACHINE}.bin"
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}
do_configure () {
oe_runmake ${UBOOT_MACHINE}
unset LDFLAGS
unset CFLAGS
unset CPPFLAGS
unset LDFLAGS
unset CFLAGS
unset CPPFLAGS
- oe_runmake all
+ oe_runmake ${UBOOT_MAKE_TARGET}
oe_runmake tools env
}
oe_runmake tools env
}