summaryrefslogtreecommitdiffstats
path: root/Makefile.inc
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2022-12-05 19:06:56 +0100
committerElyes Haouas <ehaouas@noos.fr>2023-02-05 05:32:55 +0000
commit01c8c5936451d1f31dcb0a1c79f1f8e01dead83b (patch)
tree9b8f68ca0fdd04e6090a85288a1de2860da33031 /Makefile.inc
parent6d301c8724eda7cc02e8a674c950dcb8cf1e024d (diff)
downloadcoreboot-01c8c5936451d1f31dcb0a1c79f1f8e01dead83b.tar.gz
coreboot-01c8c5936451d1f31dcb0a1c79f1f8e01dead83b.tar.bz2
coreboot-01c8c5936451d1f31dcb0a1c79f1f8e01dead83b.zip
Makefile.inc: Use 'Wmissing-include-dirs' command option
This is to warn if a user add to Makefile a path to nonexistent directory. Change-Id: I5a30c3830f30509deaaadc6eaeab0e17bc08565c Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/70251 Reviewed-by: Erik van den Bogaert <ebogaert@eltan.com> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: Yu-Ping Wu <yupingso@google.com> Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'Makefile.inc')
-rw-r--r--Makefile.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.inc b/Makefile.inc
index f1f4646b98d7..96121d40193b 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -423,7 +423,7 @@ CFLAGS_common += -pipe -g -nostdinc -std=gnu11
CFLAGS_common += -nostdlib -Wall -Wundef -Wstrict-prototypes -Wmissing-prototypes
CFLAGS_common += -Wwrite-strings -Wredundant-decls -Wno-trigraphs -Wimplicit-fallthrough
CFLAGS_common += -Wshadow -Wdate-time -Wtype-limits -Wvla -Wold-style-definition
-CFLAGS_common += -Wdangling-else
+CFLAGS_common += -Wdangling-else -Wmissing-include-dirs
CFLAGS_common += -fno-common -ffreestanding -fno-builtin -fomit-frame-pointer
CFLAGS_common += -fstrict-aliasing -ffunction-sections -fdata-sections -fno-pie
ifeq ($(CONFIG_COMPILER_GCC),y)