cbmk/config/coreboot/fam15h/patches/0011-Never-download-blobs-e...

44 lines
1.6 KiB
Diff

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