summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorYann Gautier <yann.gautier@st.com>2026-05-27 15:34:40 +0200
committerYann Gautier <yann.gautier@st.com>2026-06-26 13:10:48 +0200
commit8ae55a5efdc0bef873d5277fb306f99e6c33754f (patch)
tree8716dd449460c5fb41c793c9932cd9d6d6ef2cab /Makefile
parent365c2f09a4266bd71f2fc2845da7d3efcb061aa4 (diff)
downloadarm-trusted-firmware-8ae55a5efdc0bef873d5277fb306f99e6c33754f.tar.gz
arm-trusted-firmware-8ae55a5efdc0bef873d5277fb306f99e6c33754f.zip
fix(build): move `USE_GIC_DRIVER` flag management in Makefile
USE_GIC_DRIVER is defined as 0 in make_helpers/defaults.mk. For platforms not overriding this default parameter, the flag will then not be defined and will trigger warning when enabling -Wundef flag. Move the flag in the call add_defines in Makefile. While at it, add it also in call assert_numerics. Change-Id: I2d1ea9193e32ea004ed7f78fa51fa63a0da55f35 Signed-off-by: Yann Gautier <yann.gautier@st.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index b39562397..9f31f577d 100644
--- a/Makefile
+++ b/Makefile
@@ -739,6 +739,7 @@ $(eval $(call assert_numerics,\
IMPDEF_SYSREG_TRAP \
W \
TEST_IO_SHORT_READ_FI_IMAGE_ID \
+ USE_GIC_DRIVER \
)))
ifdef KEY_SIZE
@@ -938,6 +939,7 @@ $(eval $(call add_defines,\
TEST_IO_SHORT_READ_FI \
TEST_IO_SHORT_READ_FI_IMAGE_ID \
SDEI_SUPPORT \
+ USE_GIC_DRIVER \
)))
ifeq (${PLATFORM_REPORT_CTX_MEM_USE}, 1)