aboutsummaryrefslogtreecommitdiff
path: root/bl31/bl31.mk
diff options
context:
space:
mode:
authorLeonardo Sandoval <leonardo.sandoval@linaro.org>2020-09-10 12:18:27 -0500
committerLeonardo Sandoval <leonardo.sandoval@linaro.org>2020-09-14 09:27:53 -0500
commit327131c4c7e41d57aca9f54fd2706ae59d735aaa (patch)
tree02bec611bb2050129066ce0b8e20b552abcecad9 /bl31/bl31.mk
parented39d5e3c0709bab22821a1da3a62737c5d531de (diff)
downloadtrusted-firmware-a-327131c4c7e41d57aca9f54fd2706ae59d735aaa.tar.gz
build_macros.mk: include assert and define loop macros
Loop macros make it easier for developers to include new variables to assert or define and also help code code readability on makefiles. Change-Id: I0d21d6e67b3eca8976c4d856ac8ccc02c8bb5ffa Signed-off-by: Leonardo Sandoval <leonardo.sandoval@linaro.org>
Diffstat (limited to 'bl31/bl31.mk')
-rw-r--r--bl31/bl31.mk20
1 files changed, 13 insertions, 7 deletions
diff --git a/bl31/bl31.mk b/bl31/bl31.mk
index 0948e94e09..735d1fcfc5 100644
--- a/bl31/bl31.mk
+++ b/bl31/bl31.mk
@@ -89,10 +89,16 @@ ifndef CRASH_REPORTING
CRASH_REPORTING := $(DEBUG)
endif
-$(eval $(call assert_boolean,CRASH_REPORTING))
-$(eval $(call assert_boolean,EL3_EXCEPTION_HANDLING))
-$(eval $(call assert_boolean,SDEI_SUPPORT))
-
-$(eval $(call add_define,CRASH_REPORTING))
-$(eval $(call add_define,EL3_EXCEPTION_HANDLING))
-$(eval $(call add_define,SDEI_SUPPORT))
+$(eval $(call assert_booleans,\
+ $(sort \
+ CRASH_REPORTING \
+ EL3_EXCEPTION_HANDLING \
+ SDEI_SUPPORT \
+)))
+
+$(eval $(call add_defines,\
+ $(sort \
+ CRASH_REPORTING \
+ EL3_EXCEPTION_HANDLING \
+ SDEI_SUPPORT \
+)))