From 6d301c8724eda7cc02e8a674c950dcb8cf1e024d Mon Sep 17 00:00:00 2001 From: Brian Norris Date: Wed, 1 Feb 2023 16:38:44 -0800 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/72716 Reviewed-by: Jack Rosenthal Tested-by: build bot (Jenkins) Reviewed-by: Raul Rangel Reviewed-by: Yu-Ping Wu --- src/security/vboot/Makefile.inc | 1 + 1 file changed, 1 insertion(+) (limited to 'src/security/vboot') diff --git a/src/security/vboot/Makefile.inc b/src/security/vboot/Makefile.inc index 8747e027d7..f6103bbf8e 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) -- cgit v1.2.3