image_types_tegra.bbclass: allow TEGRA_ESP_IMAGE to be empty

Allow the user to replace the standard TEGRA_ESP_IMAGE image by not
depending on the respective do_image_complete task.

The preferred image can be set via IMAGE_TEGRAFLASH_ESPIMG, after
setting TEGRA_ESP_IMAGE to empty.

Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
This commit is contained in:
Ricardo Salveti
2022-10-18 22:59:36 -03:00
committed by Matt Madison
parent e4aba7671c
commit 1331d6b8d5

View File

@@ -534,7 +534,8 @@ do_image_tegraflash[depends] += "${TEGRAFLASH_PKG_DEPENDS} dtc-native:do_populat
tegra-bootfiles:do_populate_sysroot tegra-bootfiles:do_populate_lic \
tegra-redundant-boot-rollback:do_populate_sysroot virtual/kernel:do_deploy \
${@'${INITRD_IMAGE}:do_image_complete' if d.getVar('INITRD_IMAGE') != '' else ''} \
virtual/bootloader:do_deploy virtual/secure-os:do_deploy ${TEGRA_ESP_IMAGE}:do_image_complete ${TEGRA_SIGNING_EXTRA_DEPS} ${DTB_EXTRA_DEPS}"
${@'${TEGRA_ESP_IMAGE}:do_image_complete' if d.getVar('TEGRA_ESP_IMAGE') != '' else ''} \
virtual/bootloader:do_deploy virtual/secure-os:do_deploy ${TEGRA_SIGNING_EXTRA_DEPS} ${DTB_EXTRA_DEPS}"
IMAGE_TYPEDEP:tegraflash += "${IMAGE_TEGRAFLASH_FS_TYPE}"
oe_make_bup_payload() {