summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@chromium.org>2016-11-07 23:47:11 -0800
committerFurquan Shaikh <furquan@google.com>2016-11-10 00:07:25 +0100
commit21fdd8d0b2206be85dd920e94fb9657a22ab5226 (patch)
treea48032aa1e3d66aa91cbf95a544e5e1665d42f3f
parent2afc4e7ff7b0e7af9dadaa594db481a23358be0a (diff)
vboot: Add vboot library to romstage
This library is needed for calculating sha-256 of recovery mrc data in romstage. BUG=chrome-os-partner:59355 BRANCH=None TEST=Compiles succesfully for reef. Change-Id: Ie257208c7b3ad07d00e4eb777debf19c42a2fc0c Signed-off-by: Furquan Shaikh <furquan@chromium.org> Reviewed-on: https://review.coreboot.org/17271 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
-rw-r--r--src/vboot/Makefile.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vboot/Makefile.inc b/src/vboot/Makefile.inc
index 82b4ac2e9e..73fb9d12d0 100644
--- a/src/vboot/Makefile.inc
+++ b/src/vboot/Makefile.inc
@@ -105,6 +105,7 @@ $(VB2_LIB): $(obj)/config.h
libverstage-srcs += $(VB2_LIB)
ifeq ($(CONFIG_SEPARATE_VERSTAGE),y)
+romstage-srcs += $(VB2_LIB)
cbfs-files-$(CONFIG_SEPARATE_VERSTAGE) += $(CONFIG_CBFS_PREFIX)/verstage
$(CONFIG_CBFS_PREFIX)/verstage-file := $(objcbfs)/verstage.elf
$(CONFIG_CBFS_PREFIX)/verstage-type := stage