0011-Never-download-blobs-even-if-USE_BLOBS-y.patch 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. From 31cb9eefd880bd8011d18fa070f31c498a0265e5 Mon Sep 17 00:00:00 2001
  2. From: Leah Rowe <info@minifree.org>
  3. Date: Fri, 3 May 2024 06:29:41 +0100
  4. Subject: [PATCH 1/1] Never download blobs, even if USE_BLOBS=y
  5. Same idea as my never-microcode patch. With this and that
  6. other patch, I can now re-use lbmk coreboot configs reliably
  7. without modifying them; i currently set CONFIG_USE_BLOBS=n
  8. on the Canoeboot versions.
  9. Thus, this patch will reduce the maintenance burden for cbmk.
  10. Signed-off-by: Leah Rowe <info@minifree.org>
  11. ---
  12. Makefile.inc | 12 ------------
  13. 1 file changed, 12 deletions(-)
  14. diff --git a/Makefile.inc b/Makefile.inc
  15. index be198d6580..2b3718b67c 100644
  16. --- a/Makefile.inc
  17. +++ b/Makefile.inc
  18. @@ -196,18 +196,6 @@ endif
  19. ifneq ($(UPDATED_SUBMODULES),1)
  20. # try to fetch non-optional submodules if the source is under git
  21. forgetthis:=$(if $(GIT),$(shell git submodule update --init))
  22. -ifeq ($(CONFIG_USE_BLOBS),y)
  23. -# These items are necessary because each has update=none in .gitmodules. They are ignored
  24. -# until expressly requested and enabled with --checkout
  25. -forgetthis:=$(if $(GIT),$(shell git submodule update --init --checkout 3rdparty/blobs))
  26. -forgetthis:=$(if $(GIT),$(shell git submodule update --init --checkout 3rdparty/intel-microcode))
  27. -ifeq ($(CONFIG_PLATFORM_USES_FSP1_0)$(CONFIG_PLATFORM_USES_FSP1_1)$(CONFIG_PLATFORM_USES_FSP2_0),y)
  28. -forgetthis:=$(if $(GIT),$(shell git submodule update --init --checkout 3rdparty/fsp))
  29. -endif
  30. -ifeq ($(CONFIG_USE_AMD_BLOBS),y)
  31. -forgetthis:=$(if $(GIT),$(shell git submodule update --init --checkout 3rdparty/amd_blobs))
  32. -endif
  33. -endif
  34. UPDATED_SUBMODULES:=1
  35. COREBOOT_EXPORTS += UPDATED_SUBMODULES
  36. endif
  37. --
  38. 2.39.2