diff options
Diffstat (limited to 'recipes/u-boot/u-boot_r2.inc')
-rw-r--r-- | recipes/u-boot/u-boot_r2.inc | 9 |
1 files 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} |