From 92f447aa929df28ecb41463032746ba54db3b526 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Sun, 14 Feb 2021 14:57:06 -0700 Subject: util/cbfstool: Update Makefiles - Add a distclean target - Add a help target - Add the -Wshadow option Signed-off-by: Martin Roth Change-Id: Ie31d61bd0e28b1e228656dfa09b5ab1996868706 Reviewed-on: https://review.coreboot.org/c/coreboot/+/50848 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi Reviewed-by: Angel Pons --- util/cbfstool/Makefile | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'util/cbfstool/Makefile') diff --git a/util/cbfstool/Makefile b/util/cbfstool/Makefile index ad8f9a88d0..7ef46a7224 100644 --- a/util/cbfstool/Makefile +++ b/util/cbfstool/Makefile @@ -48,7 +48,7 @@ linux_trampoline.c: linux_trampoline.S mv trampoline.c linux_trampoline.c rm linux_trampoline trampoline -.PHONY: install +.PHONY: install distclean help install: all mkdir -p $(DESTDIR)$(BINDIR) $(INSTALL) cbfstool $(DESTDIR)$(BINDIR) @@ -58,6 +58,18 @@ install: all $(INSTALL) ifittool $(DESTDIR)$(BINDIR) $(INSTALL) cbfs-compression-tool $(DESTDIR)$(BINDIR) +distclean: clean + +help: + @echo "cbfstool & associated tools" + @echo "Targets: all, clean, distclean, help" + @echo " cbfstool - Manipulate CBFS images" + @echo " fmaptool - Compile Flashmap descriptor (fmd) files" + @echo " rmodtool - Create relocatable modules" + @echo " ifwitool - Manipulate Intel FW Image (IFWI)" + @echo " ifittool - Manipulate Intel FW Interface Table (FIT)" + @echo " cbfs-compression-tool - benchmark compression algorithms" + ifneq ($(V),1) .SILENT: endif -- cgit v1.2.3