]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - Makefile
powerpc/mpc85xx: SECURE BOOT- NAND secure boot target for P3041
[karo-tx-uboot.git] / Makefile
index b7c05e8b45f6ab61f0614300cb0546b3bf6f701f..e9fc1d77ffe3d07acb256f0828b17487385a456d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -736,8 +736,12 @@ ALL-$(CONFIG_ONENAND_U_BOOT) += u-boot-onenand.bin
 ifeq ($(CONFIG_SPL_FSL_PBL),y)
 ALL-$(CONFIG_RAMBOOT_PBL) += u-boot-with-spl-pbl.bin
 else
+ifneq ($(CONFIG_SECURE_BOOT), y)
+# For Secure Boot The Image needs to be signed and Header must also
+# be included. So The image has to be built explicitly
 ALL-$(CONFIG_RAMBOOT_PBL) += u-boot.pbl
 endif
+endif
 ALL-$(CONFIG_SPL) += spl/u-boot-spl.bin
 ALL-$(CONFIG_SPL_FRAMEWORK) += u-boot.img
 ALL-$(CONFIG_TPL) += tpl/u-boot-tpl.bin