summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/drivers/intel/fsp2_0/Makefile.inc9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/drivers/intel/fsp2_0/Makefile.inc b/src/drivers/intel/fsp2_0/Makefile.inc
index 80dc93b75e..01b4c9ec1d 100644
--- a/src/drivers/intel/fsp2_0/Makefile.inc
+++ b/src/drivers/intel/fsp2_0/Makefile.inc
@@ -110,8 +110,17 @@ endif # CONFIG_FSP_M_FILE
ifeq ($(call strip_quotes,$(CONFIG_FSP_S_FILE)),)
$(error No FSP-S binary file specified.)
endif # CONFIG_FSP_S_FILE
+else # CONFIG_ADD_FSP_BINARIES
+build_complete:: warn_no_fsp_binaries
endif # CONFIG_ADD_FSP_BINARIES
+PHONY+=warn_no_fsp_binaries
+warn_no_fsp_binaries:
+ printf "\n\t** WARNING **\n"
+ printf "ADD_FSP_BINARIES isn't selected even though this SoC relies on the FSP.\n"
+ printf "The resulting image won't contain the FSP binaries and will not boot unless\n"
+ printf "they are added later.\n"
+
subdirs-y += ppi
endif