0007-util-cbfstool-Makefile-support-distclean.patch 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. From d5dc3f23eb546cf328fdfe1e918afa028fb9cd8c Mon Sep 17 00:00:00 2001
  2. From: Leah Rowe <leah@libreboot.org>
  3. Date: Sun, 9 Jul 2023 04:13:52 +0100
  4. Subject: [PATCH 1/1] util/cbfstool Makefile: support distclean
  5. it just does make-clean
  6. this is so that this super-old coreboot revision
  7. interfaces well with lbmk, which runs distclean
  8. on cbfstool (which is supported, on modern cbfstool)
  9. Signed-off-by: Leah Rowe <leah@libreboot.org>
  10. ---
  11. util/cbfstool/Makefile | 4 +++-
  12. 1 file changed, 3 insertions(+), 1 deletion(-)
  13. diff --git a/util/cbfstool/Makefile b/util/cbfstool/Makefile
  14. index d5321f6959..b8424d7d87 100644
  15. --- a/util/cbfstool/Makefile
  16. +++ b/util/cbfstool/Makefile
  17. @@ -26,7 +26,7 @@ ifittool: $(objutil)/cbfstool/ifittool
  18. cbfs-compression-tool: $(objutil)/cbfstool/cbfs-compression-tool
  19. -.PHONY: clean cbfstool ifittool fmaptool rmodtool ifwitool cbfs-compression-tool
  20. +.PHONY: distclean clean cbfstool ifittool fmaptool rmodtool ifwitool cbfs-compression-tool
  21. clean:
  22. $(RM) fmd_parser.c fmd_parser.h fmd_scanner.c fmd_scanner.h
  23. $(RM) $(objutil)/cbfstool/cbfstool $(cbfsobj)
  24. @@ -55,6 +55,8 @@ install: all
  25. $(INSTALL) ifittool $(DESTDIR)$(BINDIR)
  26. $(INSTALL) cbfs-compression-tool $(DESTDIR)$(BINDIR)
  27. +distclean: clean
  28. +
  29. ifneq ($(V),1)
  30. .SILENT:
  31. endif
  32. --
  33. 2.40.1