diff options
Diffstat (limited to 'classes/imx-boot-container.bbclass')
-rw-r--r-- | classes/imx-boot-container.bbclass | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/classes/imx-boot-container.bbclass b/classes/imx-boot-container.bbclass index 53c70a0b8..c3a13a255 100644 --- a/classes/imx-boot-container.bbclass +++ b/classes/imx-boot-container.bbclass | |||
@@ -27,7 +27,7 @@ | |||
27 | ATF_MACHINE_NAME = "bl31-${ATF_PLATFORM}.bin" | 27 | ATF_MACHINE_NAME = "bl31-${ATF_PLATFORM}.bin" |
28 | ATF_MACHINE_NAME:append = "${@bb.utils.contains('MACHINE_FEATURES', 'optee', '-optee', '', d)}" | 28 | ATF_MACHINE_NAME:append = "${@bb.utils.contains('MACHINE_FEATURES', 'optee', '-optee', '', d)}" |
29 | 29 | ||
30 | IMX_BOOT_CONTAINER_FIRMWARE_SOC = "" | 30 | IMX_BOOT_CONTAINER_FIRMWARE_SOC ?= "" |
31 | IMX_BOOT_CONTAINER_FIRMWARE_SOC:mx8mq-generic-bsp = " \ | 31 | IMX_BOOT_CONTAINER_FIRMWARE_SOC:mx8mq-generic-bsp = " \ |
32 | signed_dp_imx8m.bin \ | 32 | signed_dp_imx8m.bin \ |
33 | signed_hdmi_imx8m.bin \ | 33 | signed_hdmi_imx8m.bin \ |
@@ -63,6 +63,9 @@ do_resolve_and_populate_binaries() { | |||
63 | else | 63 | else |
64 | bberror "ATF binary is undefined, result binary would be unusable!" | 64 | bberror "ATF binary is undefined, result binary would be unusable!" |
65 | fi | 65 | fi |
66 | if [ "${@bb.utils.contains('MACHINE_FEATURES', 'optee', '1' , '0' , d)}" = "1" ] ; then | ||
67 | cp ${DEPLOY_DIR_IMAGE}/${OPTEE_BOOT_IMAGE} ${B}/${config}/ | ||
68 | fi | ||
66 | fi | 69 | fi |
67 | done | 70 | done |
68 | unset j | 71 | unset j |
@@ -96,7 +99,7 @@ do_deploy:append() { | |||
96 | if [ ! -f "${DEPLOYDIR}/imx-boot" ]; then | 99 | if [ ! -f "${DEPLOYDIR}/imx-boot" ]; then |
97 | ln -sf flash.bin-${MACHINE}-${type} flash.bin | 100 | ln -sf flash.bin-${MACHINE}-${type} flash.bin |
98 | ln -sf flash.bin-${MACHINE}-${type} imx-boot | 101 | ln -sf flash.bin-${MACHINE}-${type} imx-boot |
99 | 102 | ln -sf flash.bin.tagged imx-boot.tagged | |
100 | else | 103 | else |
101 | bbwarn "Use custom wks.in for $UBOOT_CONFIG = $type" | 104 | bbwarn "Use custom wks.in for $UBOOT_CONFIG = $type" |
102 | fi | 105 | fi |