ccmp1: remove linux/u-boot functions related to FIT image bootscript copying
This logic was fixed in commit e915a14b4b, so we
no longer have to manually copy the bootscript to generate FIT images.
https://onedigi.atlassian.net/browse/DEL-8946
Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
This commit is contained in:
parent
72675e510c
commit
9ac912d289
|
|
@ -19,15 +19,6 @@ SRC_URI += " \
|
|||
"
|
||||
|
||||
install_helper_files() {
|
||||
# Install UBOOT_ENV_BINARY to datadir, so that kernel can use it
|
||||
# to include it into the FIT image.
|
||||
if [ -f "${D}/boot/${UBOOT_ENV_BINARY}" ]; then
|
||||
install -Dm 0644 ${D}/boot/${UBOOT_ENV_BINARY} ${D}${datadir}/${UBOOT_ENV_IMAGE}
|
||||
ln -sf ${UBOOT_ENV_IMAGE} ${D}${datadir}/${UBOOT_ENV_BINARY}
|
||||
else
|
||||
bbwarn "${D}/boot/${UBOOT_ENV_BINARY} not found"
|
||||
fi
|
||||
|
||||
# Install dtbs from UBOOT_DEVICETREE to datadir, so that kernel
|
||||
# can use it for signing, and kernel will deploy after signs it.
|
||||
if [ -n "${UBOOT_DEVICETREE}" ]; then
|
||||
|
|
|
|||
|
|
@ -7,12 +7,6 @@ SRCBRANCH:stm32mpcommon = "v5.15.118/stm/master"
|
|||
SRCREV = "${AUTOREV}"
|
||||
SRCREV:stm32mpcommon = "${AUTOREV}"
|
||||
|
||||
do_assemble_fitimage:prepend:ccmp1() {
|
||||
# Deploy u-boot script to be included into the FIT image
|
||||
install -d ${STAGING_DIR_HOST}/boot
|
||||
install -m 0644 ${RECIPE_SYSROOT}/${datadir}/${UBOOT_ENV_BINARY} ${STAGING_DIR_HOST}/boot/
|
||||
}
|
||||
|
||||
do_assemble_fitimage:append:ccmp1() {
|
||||
#
|
||||
# Step 9: Add public keys to the different U-Boot dtb files
|
||||
|
|
|
|||
Loading…
Reference in New Issue