summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEran Matityahu <eran.m@variscite.com>2018-02-28 09:51:50 +0200
committerStefano Babic <sbabic@denx.de>2018-03-29 17:29:55 +0200
commit0004b7aa8a5edac7a17208cc5551d19b7f6f59a1 (patch)
tree4eb41feed8b86dd8ac67bac963e5f28262c2f07b /Makefile
parentdad75e241c0a62b48ad40f4edbf81aecbbce8fd7 (diff)
Makefile: Build firmware-ivt image type for HAB verification also for mx7
Create u-boot-ivt.img and u-boot-ivt.img.log when building U-Boot with SPL and Secure Boot enabled for imx7 (like it is done for imx6). See commit d21bd69b6e95ca7824941e7f527871cd5c63c7f7 for more info. Signed-off-by: Eran Matityahu <eran.m@variscite.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index c6819d5742..6eb30a3c66 100644
--- a/Makefile
+++ b/Makefile
@@ -781,8 +781,12 @@ ALL-$(CONFIG_SPL) += spl/u-boot-spl.bin
ifeq ($(CONFIG_MX6)$(CONFIG_SECURE_BOOT), yy)
ALL-$(CONFIG_SPL_FRAMEWORK) += u-boot-ivt.img
else
+ifeq ($(CONFIG_MX7)$(CONFIG_SECURE_BOOT), yy)
+ALL-$(CONFIG_SPL_FRAMEWORK) += u-boot-ivt.img
+else
ALL-$(CONFIG_SPL_FRAMEWORK) += u-boot.img
endif
+endif
ALL-$(CONFIG_TPL) += tpl/u-boot-tpl.bin
ALL-$(CONFIG_OF_SEPARATE) += u-boot.dtb
ifeq ($(CONFIG_SPL_FRAMEWORK),y)