From ce3d8c2bae9393c94dd332b37c5f18fbff808a14 Mon Sep 17 00:00:00 2001 From: Werner Zeh Date: Mon, 5 Nov 2018 07:29:23 +0100 Subject: security/vboot: Add VB2_LIB to postcar stage if available VB2_LIB will be used across all stages to hash data. Add it to postcar stage sources so that it is compiled if postcar exists. In this way the new function tpm_measure_region() introduced in commit 61322d7 (security/tpm: Add function to measure a region device) can be used in every stage. Change-Id: I933d33b0188d1b123bb4735722b6086e7786624f Signed-off-by: Werner Zeh Reviewed-on: https://review.coreboot.org/29465 Tested-by: build bot (Jenkins) Reviewed-by: Julius Werner Reviewed-by: Philipp Deppenwiese --- src/security/vboot/Makefile.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/security/vboot/Makefile.inc b/src/security/vboot/Makefile.inc index 704b6c92b9..f51db80b12 100644 --- a/src/security/vboot/Makefile.inc +++ b/src/security/vboot/Makefile.inc @@ -112,6 +112,7 @@ CFLAGS_common += -I3rdparty/vboot/firmware/2lib/include $(eval $(call vboot-for-stage,verstage)) $(eval $(call vboot-for-stage,bootblock)) $(eval $(call vboot-for-stage,ramstage)) +$(eval $(call vboot-for-stage,postcar)) ifeq ($(CONFIG_VBOOT_SEPARATE_VERSTAGE),y) -- cgit v1.2.3