cbmk/config/coreboot/dell/patches/0010-Never-download-blobs-e...

48 lines
1.8 KiB
Diff

From c7d9dcec39fbda870b7cddbeb87771bac0fb68b8 Mon Sep 17 00:00:00 2001
From: Leah Rowe <info@minifree.org>
Date: Fri, 3 May 2024 06:24:49 +0100
Subject: [PATCH 1/1] Never download blobs, even if USE_BLOBS=y
same idea as my never-microcode patches. i maintain
canoeboot and i like to re-use the same configs from
lbmk. with this and the never-microcode patch, it should
now be possible to re-use lbmk coreboot configs unmodified!
when those configs are used in cbmk, the relevant blobs
are never downloaded, ever.
Signed-off-by: Leah Rowe <info@minifree.org>
---
Makefile.mk | 15 ---------------
1 file changed, 15 deletions(-)
diff --git a/Makefile.mk b/Makefile.mk
index 87c6bcb247..3747eaa556 100644
--- a/Makefile.mk
+++ b/Makefile.mk
@@ -222,21 +222,6 @@ $(info Updating git submodules.)
forgetthis:=$(shell git submodule update --init $(quiet_errors))
# Checkout Cmocka repository
forgetthis:=$(shell git submodule update --init --checkout 3rdparty/cmocka $(quiet_errors))
-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:=$(shell git submodule update --init --checkout 3rdparty/blobs $(quiet_errors))
-forgetthis:=$(shell git submodule update --init --checkout 3rdparty/intel-microcode $(quiet_errors))
-ifeq ($(CONFIG_FSP_USE_REPO),y)
-forgetthis:=$(shell git submodule update --init --checkout 3rdparty/fsp $(quiet_errors))
-endif
-ifeq ($(CONFIG_USE_AMD_BLOBS),y)
-forgetthis:=$(shell git submodule update --init --checkout 3rdparty/amd_blobs $(quiet_errors))
-endif
-ifeq ($(CONFIG_USE_QC_BLOBS),y)
-forgetthis:=$(shell git submodule update --init --checkout 3rdparty/qc_blobs $(quiet_errors))
-endif
-endif
UPDATED_SUBMODULES:=1
COREBOOT_EXPORTS += UPDATED_SUBMODULES
--
2.39.2