aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf_samuelsson@telia.com>2011-11-21 16:33:30 +0100
committerUlf Samuelsson <ulf_samuelsson@telia.com>2011-11-21 16:33:30 +0100
commit40e2cb9779c01778f3c995394f377566e9448f1c (patch)
tree685326adcee6d22fc3f178ff237376b9ce1cd0b3
parent83952adb7c31e619ec912197df5f475e8f3330d6 (diff)
downloadopenembedded-40e2cb9779c01778f3c995394f377566e9448f1c.zip
openembedded-40e2cb9779c01778f3c995394f377566e9448f1c.tar.gz
openembedded-40e2cb9779c01778f3c995394f377566e9448f1c.tar.bz2
u-boot: put result in $DEPLOYDIR/u-boot dir
Signed-off-by: Ulf Samuelsson <ulf_samuelsson@telia.com>
-rw-r--r--recipes/u-boot/u-boot_r2.inc9
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 50c2267..6b07aa0 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}