summaryrefslogtreecommitdiff
path: root/src/security/vboot/Makefile.inc
diff options
context:
space:
mode:
authorWerner Zeh <werner.zeh@siemens.com>2018-11-05 07:29:23 +0100
committerPhilipp Deppenwiese <zaolin.daisuki@gmail.com>2018-11-08 07:41:39 +0000
commitce3d8c2bae9393c94dd332b37c5f18fbff808a14 (patch)
treeea8551542ff1983d1602ddcb0e1b4541aa9c661d /src/security/vboot/Makefile.inc
parent29eeeceb2d9ec96245aa678f68caafeb3af5b9f9 (diff)
downloadcoreboot-ce3d8c2bae9393c94dd332b37c5f18fbff808a14.tar.xz
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 <werner.zeh@siemens.com> Reviewed-on: https://review.coreboot.org/29465 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org> Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
Diffstat (limited to 'src/security/vboot/Makefile.inc')
-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 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)