mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-05-07 03:49:20 +00:00
u-boot-ti: deploy initial-env for the main machine
It is useful to have U-boot initial environment deployed for future reference or to initialize environment files as part of the build. In multiconfig setup, such as TI K3 platforms, building U-boot multiple times for Cortex-R5 and Cortex-A53 cores results in file conflicts when deploying under the same name. To avoid that, those initial-env files were removed at the end of the do_deploy task. But it is better to only remove them for k3r5 multiconfig, since that only builds SPL and saved env doesn't make much sense, but preserve and deploy initial-env for the main machine multiconfig. Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
This commit is contained in:
committed by
Ryan Eatmon
parent
8dac9b02ad
commit
e918d88cfc
@@ -221,6 +221,13 @@ do_deploy:append:k3r5 () {
|
|||||||
install -m 644 $f ${DEPLOYDIR}/
|
install -m 644 $f ${DEPLOYDIR}/
|
||||||
fi
|
fi
|
||||||
done
|
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 () {
|
do_deploy:append () {
|
||||||
@@ -325,13 +332,6 @@ do_deploy:append () {
|
|||||||
ln -sf ${UBOOT_HS_2ND_IMAGE} ${UBOOT_HS_2ND_BINARY}
|
ln -sf ${UBOOT_HS_2ND_IMAGE} ${UBOOT_HS_2ND_BINARY}
|
||||||
fi
|
fi
|
||||||
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() {
|
do_install:append:am62xx() {
|
||||||
|
|||||||
Reference in New Issue
Block a user