summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorQixiang Xu <qixiang.xu@arm.com>2017-08-24 11:03:23 +0800
committerQixiang Xu <qixiang.xu@arm.com>2017-09-08 10:47:25 +0800
commit76580f3d690fce16c2df06cd66130a511f7f23a6 (patch)
tree049e8bd1011fbb456d69de409e2f085a5bd05f00 /Makefile
parent5457874575a67b08606a35682e1dd9a5ebb984e8 (diff)
Filter out invalid configure for EL3_PAYLOAD_BASE
TRUSTED_BOARD_BOOT and GENERATE_COT is not compatible with EL3_PAYLOAD_BASE Change-Id: I538c77e1f6c7da400d30ae4d633b8fcc55742202 Signed-off-by: Qixiang Xu <qixiang.xu@arm.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 0a645146..267fc823 100644
--- a/Makefile
+++ b/Makefile
@@ -305,6 +305,12 @@ ifdef EL3_PAYLOAD_BASE
$(warning "PRELOADED_BL33_BASE and EL3_PAYLOAD_BASE are \
incompatible build options. EL3_PAYLOAD_BASE has priority.")
endif
+ ifneq (${GENERATE_COT},0)
+ $(error "GENERATE_COT and EL3_PAYLOAD_BASE are incompatible build options.")
+ endif
+ ifneq (${TRUSTED_BOARD_BOOT},0)
+ $(error "TRUSTED_BOARD_BOOT and EL3_PAYLOAD_BASE are incompatible build options.")
+ endif
endif
ifeq (${NEED_BL33},yes)