summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Norris <briannorris@chromium.org>2023-02-01 16:38:44 -0800
committerMartin L Roth <gaumless@gmail.com>2023-02-05 01:11:21 +0000
commit6d301c8724eda7cc02e8a674c950dcb8cf1e024d (patch)
tree614daf361ebe8b991db0e9dafd96c3986125fe46
parent1d7fa216ba23af5c8186db4f147ec6a1135711a3 (diff)
downloadcoreboot-6d301c8724eda7cc02e8a674c950dcb8cf1e024d.tar.gz
coreboot-6d301c8724eda7cc02e8a674c950dcb8cf1e024d.tar.bz2
coreboot-6d301c8724eda7cc02e8a674c950dcb8cf1e024d.zip
security/vboot: Don't build with flashrom support
We don't need flashrom support just for vboot payloads. The current default (USE_FLASHROM=1) is mostly harmless, especially if libflashrom is not present (the autodetection in vboot_reference just spits out a pkg-config error but doesn't actually fail the build), but it's better to be clear we don't need it. BUG=b:172225709 TEST=build Change-Id: I53bcc2d1e7666646ddad58ba3717cfdd321014e8 Signed-off-by: Brian Norris <briannorris@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/72716 Reviewed-by: Jack Rosenthal <jrosenth@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Raul Rangel <rrangel@chromium.org> Reviewed-by: Yu-Ping Wu <yupingso@google.com>
-rw-r--r--src/security/vboot/Makefile.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/security/vboot/Makefile.inc b/src/security/vboot/Makefile.inc
index 8747e027d714..f6103bbf8ebc 100644
--- a/src/security/vboot/Makefile.inc
+++ b/src/security/vboot/Makefile.inc
@@ -33,6 +33,7 @@ $$(VBOOT_LIB_$(1)): $(obj)/config.h
$(MAKE) -C $(VBOOT_SOURCE) \
BUILD=$$(abspath $$(dir $$(VBOOT_LIB_$(1)))) \
V=$(V) \
+ USE_FLASHROM=0 \
fwlib \
$(if $(CONFIG_SBOM_VBOOT),$$(abspath $$(dir $$(VBOOT_LIB_$(1))))/vboot_host.pc)