diff --git a/recipes-bsp/u-boot/u-boot-am335x-vcu-v1_git.bb b/recipes-bsp/u-boot/u-boot-am335x-vcu-v1_git.bb index ac0856b..afa6e10 100644 --- a/recipes-bsp/u-boot/u-boot-am335x-vcu-v1_git.bb +++ b/recipes-bsp/u-boot/u-boot-am335x-vcu-v1_git.bb @@ -15,13 +15,11 @@ SPL_BINARY = "MLO" UBOOT_SUFFIX = "img" do_deploy_append() { - rm -f ${DEPLOYDIR}/${PN}-spl.bin - rm -f ${DEPLOYDIR}/${PN}.bin - rm -f ${DEPLOYDIR}/${PN}.img - rm -f ${DEPLOYDIR}/MLO-${PN} - cp ${S}/spl/u-boot-spl.bin ${DEPLOYDIR}/${PN}-spl.bin - cp ${S}/u-boot.bin ${DEPLOYDIR}/${PN}.bin - cp ${S}/u-boot.img ${DEPLOYDIR}/${PN}.img - cp ${S}/MLO ${DEPLOYDIR}/MLO-${PN} + 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} }