summaryrefslogtreecommitdiff
path: root/plat/st/common/common.mk
diff options
context:
space:
mode:
Diffstat (limited to 'plat/st/common/common.mk')
-rw-r--r--plat/st/common/common.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/plat/st/common/common.mk b/plat/st/common/common.mk
index 7d6333364..9c4976d93 100644
--- a/plat/st/common/common.mk
+++ b/plat/st/common/common.mk
@@ -32,6 +32,11 @@ ifeq ($(findstring clang,$(notdir $(CC))),)
TF_CFLAGS += -Wformat-signedness
endif
+# TODO: those flags should be removed from here when they are enabled in cflags.mk
+BL_FLAGS += -Wundef
+BL_FLAGS += -Wold-style-definition
+BL_FLAGS += -Wmissing-prototypes
+
# Boot devices
STM32MP_EMMC ?= 0
STM32MP_SDMMC ?= 0