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>
This commit is contained in:
Furquan Shaikh 2016-11-07 23:47:11 -08:00 committed by Furquan Shaikh
parent 2afc4e7ff7
commit 21fdd8d0b2
1 changed files with 1 additions and 0 deletions

View File

@ -105,6 +105,7 @@ $(VB2_LIB): $(obj)/config.h
libverstage-srcs += $(VB2_LIB) libverstage-srcs += $(VB2_LIB)
ifeq ($(CONFIG_SEPARATE_VERSTAGE),y) ifeq ($(CONFIG_SEPARATE_VERSTAGE),y)
romstage-srcs += $(VB2_LIB)
cbfs-files-$(CONFIG_SEPARATE_VERSTAGE) += $(CONFIG_CBFS_PREFIX)/verstage cbfs-files-$(CONFIG_SEPARATE_VERSTAGE) += $(CONFIG_CBFS_PREFIX)/verstage
$(CONFIG_CBFS_PREFIX)/verstage-file := $(objcbfs)/verstage.elf $(CONFIG_CBFS_PREFIX)/verstage-file := $(objcbfs)/verstage.elf
$(CONFIG_CBFS_PREFIX)/verstage-type := stage $(CONFIG_CBFS_PREFIX)/verstage-type := stage