summaryrefslogtreecommitdiff
path: root/recipes/u-boot/u-boot.inc
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <marcin@juszkiewicz.com.pl>2009-10-30 11:38:49 +0100
committerMarcin Juszkiewicz <marcin@juszkiewicz.com.pl>2009-10-30 11:41:54 +0100
commit04bf7d5d151173ac058f4aff2e4be3ae0f98216e (patch)
treec163b87befc5bc633cafc614c87ebaf6ae4ed717 /recipes/u-boot/u-boot.inc
parent5da5ee1a5708f9a30c61636f29548acd3a4ae02c (diff)
u-boot: added Sheevaplug support
Marvell devices needs u-boot.kwb instead of u-boot.bin due to header for first stage bootloader. UBOOT_BINARY variable was introduced due of that.
Diffstat (limited to 'recipes/u-boot/u-boot.inc')
-rw-r--r--recipes/u-boot/u-boot.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/recipes/u-boot/u-boot.inc b/recipes/u-boot/u-boot.inc
index 8ab0282743..6fdbaac87f 100644
--- a/recipes/u-boot/u-boot.inc
+++ b/recipes/u-boot/u-boot.inc
@@ -13,6 +13,7 @@ PARALLEL_MAKE=""
EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}"
UBOOT_MACHINE ?= "${MACHINE}_config"
+UBOOT_BINARY ?= "u-boot.bin"
UBOOT_IMAGE ?= "u-boot-${MACHINE}-${PV}-${PR}.bin"
UBOOT_SYMLINK ?= "u-boot-${MACHINE}.bin"
@@ -39,7 +40,7 @@ do_install () {
do_deploy () {
install -d ${DEPLOY_DIR_IMAGE}
- install ${S}/u-boot.bin ${DEPLOY_DIR_IMAGE}/${UBOOT_IMAGE}
+ install ${S}/${UBOOT_BINARY} ${DEPLOY_DIR_IMAGE}/${UBOOT_IMAGE}
package_stagefile_shell ${DEPLOY_DIR_IMAGE}/${UBOOT_IMAGE}
cd ${DEPLOY_DIR_IMAGE}