2
1

0151-Makefile-Make-grub_fstest.pp-depend-on-config-util.h.patch 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. From bb08b723fa7bc56439c7bc166cff361628e73453 Mon Sep 17 00:00:00 2001
  2. Message-Id: <bb08b723fa7bc56439c7bc166cff361628e73453.1659683176.git.stefan@agner.ch>
  3. From: Stefan Agner <stefan@agner.ch>
  4. Date: Fri, 5 Aug 2022 08:59:52 +0200
  5. Subject: [PATCH] Makefile: Make grub_fstest.pp depend on config-util.h
  6. Warning: This commit does not apply to the GRUB git repository. This
  7. patch applies against the release tarballs.
  8. Upstream status: https://lists.gnu.org/archive/html/grub-devel/2022-08/msg00045.html
  9. Signed-off-by: Stefan Agner <stefan@agner.ch>
  10. ---
  11. Makefile.am | 2 +-
  12. Makefile.in | 2 +-
  13. 2 files changed, 2 insertions(+), 2 deletions(-)
  14. diff --git a/Makefile.am b/Makefile.am
  15. index bf9c1ba..f08cfc0 100644
  16. --- a/Makefile.am
  17. +++ b/Makefile.am
  18. @@ -51,7 +51,7 @@ libgrub_a_init.c: libgrub_a_init.lst $(top_srcdir)/geninit.sh
  19. CLEANFILES += libgrub_a_init.c
  20. # For grub-fstest
  21. -grub_fstest.pp: $(grub_fstest_SOURCES)
  22. +grub_fstest.pp: config-util.h $(grub_fstest_SOURCES)
  23. $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_fstest_CPPFLAGS) $(CPPFLAGS) \
  24. -D'GRUB_MOD_INIT(x)=@MARKER@x@' $^ > $@ || (rm -f $@; exit 1)
  25. CLEANFILES += grub_fstest.pp
  26. diff --git a/Makefile.in b/Makefile.in
  27. index 13f2eef..2c1d20b 100644
  28. --- a/Makefile.in
  29. +++ b/Makefile.in
  30. @@ -13312,7 +13312,7 @@ libgrub_a_init.c: libgrub_a_init.lst $(top_srcdir)/geninit.sh
  31. sh $(top_srcdir)/geninit.sh `cat $<` > $@ || (rm -f $@; exit 1)
  32. # For grub-fstest
  33. -grub_fstest.pp: $(grub_fstest_SOURCES)
  34. +grub_fstest.pp: config-util.h $(grub_fstest_SOURCES)
  35. $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_fstest_CPPFLAGS) $(CPPFLAGS) \
  36. -D'GRUB_MOD_INIT(x)=@MARKER@x@' $^ > $@ || (rm -f $@; exit 1)
  37. --
  38. 2.37.1