Skip to content

Commit

Permalink
u-boot: put result in $DEPLOYDIR/u-boot dir
Browse files Browse the repository at this point in the history
Signed-off-by: Ulf Samuelsson <ulf_samuelsson@telia.com>
  • Loading branch information
Ulf Samuelsson committed Nov 21, 2011
1 parent 83952ad commit 40e2cb9
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions recipes/u-boot/u-boot_r2.inc
Expand Up @@ -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
Expand Down Expand Up @@ -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}
Expand Down

0 comments on commit 40e2cb9

Please sign in to comment.