diff --git a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc index 2c0d4fc4..bad8371f 100644 --- a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc +++ b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc @@ -221,6 +221,13 @@ do_deploy:append:k3r5 () { install -m 644 $f ${DEPLOYDIR}/ fi done + + rm ${DEPLOYDIR}/u-boot-initial-env || true + rm ${DEPLOYDIR}/${PN}-initial-env || true + rm ${DEPLOYDIR}/u-boot-initial-env-${MACHINE} || true + rm ${DEPLOYDIR}/${PN}-initial-env-${MACHINE} || true + rm ${DEPLOYDIR}/u-boot-initial-env-${MACHINE}-${PV}-${PR} || true + rm ${DEPLOYDIR}/${PN}-initial-env-${MACHINE}-${PV}-${PR} || true } do_deploy:append () { @@ -325,13 +332,6 @@ do_deploy:append () { ln -sf ${UBOOT_HS_2ND_IMAGE} ${UBOOT_HS_2ND_BINARY} fi fi - - rm ${DEPLOYDIR}/u-boot-initial-env || true - rm ${DEPLOYDIR}/${PN}-initial-env || true - rm ${DEPLOYDIR}/u-boot-initial-env-${MACHINE} || true - rm ${DEPLOYDIR}/${PN}-initial-env-${MACHINE} || true - rm ${DEPLOYDIR}/u-boot-initial-env-${MACHINE}-${PV}-${PR} || true - rm ${DEPLOYDIR}/${PN}-initial-env-${MACHINE}-${PV}-${PR} || true } do_install:append:am62xx() {