summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/soc/amd/common/psp_verstage/Makefile.inc7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/soc/amd/common/psp_verstage/Makefile.inc b/src/soc/amd/common/psp_verstage/Makefile.inc
index 54e1d0a37f..ee71d9930e 100644
--- a/src/soc/amd/common/psp_verstage/Makefile.inc
+++ b/src/soc/amd/common/psp_verstage/Makefile.inc
@@ -25,3 +25,10 @@ verstage-y += vboot_crypto.c
$(obj)/psp_verstage.bin: $(objcbfs)/verstage.elf
$(OBJCOPY_verstage) -O binary $^ $@
+
+# Default CONFIG_PSP_VERSTAGE_FILE configuration requires psp_verstage.bin and the above
+# build rule takes effect. Once CONFIG_PSP_VERSTAGE_FILE is overridden with signed PSP
+# verstage, then psp_verstage.bin is not built. The following build rule ensures that the
+# unsigned psp_verstage.bin is still built even when not used so that it can be used for
+# signing purposes.
+build_complete:: $(obj)/psp_verstage.bin