aboutsummaryrefslogtreecommitdiff
path: root/util/cbfstool/Makefile.inc
diff options
context:
space:
mode:
authorMartin Roth <martin@coreboot.org>2021-02-14 14:57:06 -0700
committerPatrick Georgi <pgeorgi@google.com>2021-02-25 10:03:05 +0000
commit92f447aa929df28ecb41463032746ba54db3b526 (patch)
tree82841097cbb675bcf071cedc4159534949b2254a /util/cbfstool/Makefile.inc
parent122011453d9d805cb487e98d377c26db6812f031 (diff)
util/cbfstool: Update Makefiles
- Add a distclean target - Add a help target - Add the -Wshadow option Signed-off-by: Martin Roth <martin@coreboot.org> Change-Id: Ie31d61bd0e28b1e228656dfa09b5ab1996868706 Reviewed-on: https://review.coreboot.org/c/coreboot/+/50848 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'util/cbfstool/Makefile.inc')
-rw-r--r--util/cbfstool/Makefile.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/cbfstool/Makefile.inc b/util/cbfstool/Makefile.inc
index 536aef5094..4ef224ce99 100644
--- a/util/cbfstool/Makefile.inc
+++ b/util/cbfstool/Makefile.inc
@@ -87,7 +87,7 @@ amdcompobj += elfheaders.o
amdcompobj += common.o
amdcompobj += xdr.o
-TOOLCFLAGS ?= -Werror -Wall -Wextra
+TOOLCFLAGS ?= -Werror -Wall -Wextra -Wshadow
TOOLCFLAGS += -Wcast-qual -Wmissing-prototypes -Wredundant-decls -Wshadow
TOOLCFLAGS += -Wstrict-prototypes -Wwrite-strings
TOOLCFLAGS += -O2