From 40e2cb9779c01778f3c995394f377566e9448f1c Mon Sep 17 00:00:00 2001 From: Ulf Samuelsson Date: Mon, 21 Nov 2011 16:33:30 +0100 Subject: u-boot: put result in $DEPLOYDIR/u-boot dir Signed-off-by: Ulf Samuelsson --- recipes/u-boot/u-boot_r2.inc | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/recipes/u-boot/u-boot_r2.inc b/recipes/u-boot/u-boot_r2.inc index 50c22670cc..6b07aa02b4 100644 --- a/recipes/u-boot/u-boot_r2.inc +++ b/recipes/u-boot/u-boot_r2.inc @@ -17,10 +17,6 @@ UBOOT_BINARY ?= "u-boot.bin" UBOOT_IMAGE ?= "u-boot-${MACHINE}-${PV}-${PR}.bin" UBOOT_SYMLINK ?= "u-boot-${MACHINE}.bin" -do_configure () { - oe_runmake ${UBOOT_MACHINE} -} - do_compile () { unset LDFLAGS unset CFLAGS @@ -73,9 +69,10 @@ INSANE_SKIP_${PN}-fw-utils = True do_deploy () { install -d ${DEPLOY_DIR_IMAGE} if ! [ "x${UBOOT_MACHINES}" == "x" ] ; then + install -d ${DEPLOY_DIR_IMAGE}/u-boot for board in ${UBOOT_MACHINES} ; do - install ${S}/binaries/${board}/${UBOOT_BINARY} ${DEPLOY_DIR_IMAGE}/${board}-u-boot-${PV}-${PR}.bin - package_stagefile_shell ${DEPLOY_DIR_IMAGE}/${board}-u-boot-${PV}-${PR}.bin + install ${S}/binaries/${board}/${UBOOT_BINARY} ${DEPLOY_DIR_IMAGE}/u-boot/${board}-u-boot-${PV}-${PR}.bin + package_stagefile_shell ${DEPLOY_DIR_IMAGE}/u-boot/${board}-u-boot-${PV}-${PR}.bin done else install ${S}/${UBOOT_BINARY} ${DEPLOY_DIR_IMAGE}/${UBOOT_IMAGE} -- cgit 1.2.3-korg