From 4a899ddc219b9fb96b5fb4382b22099c3af3bc37 Mon Sep 17 00:00:00 2001 From: Stefan Eichenberger Date: Mon, 13 Mar 2017 15:06:23 +0100 Subject: [PATCH] u-boot: copy spl and uboot bins too --- recipes-bsp/u-boot/u-boot-am335x-nbhw16-v1_git.bb | 5 +++++ recipes-bsp/u-boot/u-boot-am335x-nbhw16-v2_git.bb | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/recipes-bsp/u-boot/u-boot-am335x-nbhw16-v1_git.bb b/recipes-bsp/u-boot/u-boot-am335x-nbhw16-v1_git.bb index efbb86f..7a11ba8 100644 --- a/recipes-bsp/u-boot/u-boot-am335x-nbhw16-v1_git.bb +++ b/recipes-bsp/u-boot/u-boot-am335x-nbhw16-v1_git.bb @@ -12,3 +12,8 @@ PV = "v2016.04+git${SRCPV}" SPL_BINARY = "MLO" UBOOT_SUFFIX = "img" +do_deploy_append() { + cp ${S}/spl/u-boot-spl.bin ${DEPLOYDIR}/${PN}-spl.bin + cp ${S}/u-boot.bin ${DEPLOYDIR}/${PN}.bin +} + diff --git a/recipes-bsp/u-boot/u-boot-am335x-nbhw16-v2_git.bb b/recipes-bsp/u-boot/u-boot-am335x-nbhw16-v2_git.bb index ae6b934..5d2fd4c 100644 --- a/recipes-bsp/u-boot/u-boot-am335x-nbhw16-v2_git.bb +++ b/recipes-bsp/u-boot/u-boot-am335x-nbhw16-v2_git.bb @@ -11,3 +11,8 @@ PV = "v2016.04+git${SRCPV}" SPL_BINARY = "MLO" UBOOT_SUFFIX = "img" +do_deploy_append() { + cp ${S}/spl/u-boot-spl.bin ${DEPLOYDIR}/${PN}-spl.bin + cp ${S}/u-boot.bin ${DEPLOYDIR}/${PN}.bin +} +