diff --git a/recipes-bsp/u-boot/u-boot-armada_git.bb b/recipes-bsp/u-boot/u-boot-armada_git.bb index 492a76d..29eb6f1 100644 --- a/recipes-bsp/u-boot/u-boot-armada_git.bb +++ b/recipes-bsp/u-boot/u-boot-armada_git.bb @@ -14,12 +14,9 @@ PV = "v2017.11+git${SRCPV}" UBOOT_SUFFIX = "kwb" UBOOT_BINARY = "u-boot-spl.${UBOOT_SUFFIX}" -do_deploy_append() { - rm -f ${DEPLOYDIR}/${PN}-spl.bin - rm -f ${DEPLOYDIR}/${PN}.bin - rm -f ${DEPLOYDIR}/${PN}-spl.kwb - cp ${S}/spl/u-boot-spl.bin ${DEPLOYDIR}/spl-${PN}.xmodem.bin - cp ${S}/u-boot.bin ${DEPLOYDIR}/${PN}.xmodem.bin - cp ${S}/${UBOOT_BINARY} ${DEPLOYDIR}/${PN}.${UBOOT_SUFFIX} +do_deploy() { + cp ${S}/spl/u-boot-spl.bin ${DEPLOYDIR}/spl-u-boot-${MACHINE}.xmodem.bin + cp ${S}/u-boot.bin ${DEPLOYDIR}/u-boot-${MACHINE}.xmodem.bin + cp ${S}/${UBOOT_BINARY} ${DEPLOYDIR}/u-boot-${MACHINE}.${UBOOT_SUFFIX} } diff --git a/recipes-bsp/u-boot/u-boot-ti33x_git.bb b/recipes-bsp/u-boot/u-boot-ti33x_git.bb index 8b17003..7e7447e 100644 --- a/recipes-bsp/u-boot/u-boot-ti33x_git.bb +++ b/recipes-bsp/u-boot/u-boot-ti33x_git.bb @@ -10,11 +10,9 @@ PV = "v2016.05+git${SRCPV}" SPL_BINARY = "MLO" UBOOT_SUFFIX = "img" -do_deploy_append() { - rm -f ${DEPLOYDIR}/*${PN}.xmodem.bin - rm -f ${DEPLOYDIR}/*${PN}.${UBOOT_SUFFIX} - cp ${S}/spl/u-boot-spl.bin ${DEPLOYDIR}/spl-${PN}.xmodem.bin - cp ${S}/u-boot.bin ${DEPLOYDIR}/${PN}.xmodem.bin - cp ${S}/u-boot.img ${DEPLOYDIR}/${PN}.${UBOOT_SUFFIX} - cp ${S}/MLO ${DEPLOYDIR}/spl-${PN}.${UBOOT_SUFFIX} +do_deploy() { + cp ${S}/spl/u-boot-spl.bin ${DEPLOYDIR}/spl-u-boot-${MACHINE}.xmodem.bin + cp ${S}/u-boot.bin ${DEPLOYDIR}/u-boot-${MACHINE}.xmodem.bin + cp ${S}/MLO ${DEPLOYDIR}/spl-u-boot-${MACHINE}.${UBOOT_SUFFIX} + cp ${S}/u-boot.img ${DEPLOYDIR}/u-boot-${MACHINE}.${UBOOT_SUFFIX} }