<p>Patrick Georgi <strong>merged</strong> this change.</p><p><a href="https://review.coreboot.org/c/coreboot/+/29827">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  build bot (Jenkins): Verified
  Philipp Deppenwiese: Looks good to me, approved

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">security/vboot: Add VB2_LIB to romstage sources without dependencies<br><br>The coming feature "measured boot" relies on VB2_LIB in romstage. In the<br>case where there is no separate verstage, compile the library just for<br>romstage as it will then be shared across verstage and romstage code. If<br>there is a separate verstage, compile the library separately for<br>verstage and romstage.<br><br>Change-Id: I8126c21b8fbe8dd65d95af49cbe2ad776b8ef605<br>Signed-off-by: Werner Zeh <werner.zeh@siemens.com><br>Reviewed-on: https://review.coreboot.org/c/29827<br>Tested-by: build bot (Jenkins) <no-reply@coreboot.org><br>Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com><br>---<br>M src/security/vboot/Makefile.inc<br>1 file changed, 2 insertions(+), 4 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/security/vboot/Makefile.inc b/src/security/vboot/Makefile.inc</span><br><span>index da5d5b1..ae80a02 100644</span><br><span>--- a/src/security/vboot/Makefile.inc</span><br><span>+++ b/src/security/vboot/Makefile.inc</span><br><span>@@ -110,16 +110,14 @@</span><br><span> </span><br><span> CFLAGS_common += -I3rdparty/vboot/firmware/2lib/include</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-$(eval $(call vboot-for-stage,verstage))</span><br><span> $(eval $(call vboot-for-stage,bootblock))</span><br><span style="color: hsl(120, 100%, 40%);">+$(eval $(call vboot-for-stage,romstage))</span><br><span> $(eval $(call vboot-for-stage,ramstage))</span><br><span> $(eval $(call vboot-for-stage,postcar))</span><br><span> </span><br><span> ifeq ($(CONFIG_VBOOT_SEPARATE_VERSTAGE),y)</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-ifeq ($(CONFIG_VBOOT_HAS_REC_HASH_SPACE),y)</span><br><span style="color: hsl(0, 100%, 40%);">-$(eval $(call vboot-for-stage,romstage))</span><br><span style="color: hsl(0, 100%, 40%);">-endif</span><br><span style="color: hsl(120, 100%, 40%);">+$(eval $(call vboot-for-stage,verstage))</span><br><span> </span><br><span> cbfs-files-$(CONFIG_VBOOT_SEPARATE_VERSTAGE) += $(CONFIG_CBFS_PREFIX)/verstage</span><br><span> $(CONFIG_CBFS_PREFIX)/verstage-file := $(objcbfs)/verstage.elf</span><br><span></span><br></pre><p>To view, visit <a href="https://review.coreboot.org/c/coreboot/+/29827">change 29827</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://review.coreboot.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://review.coreboot.org/c/coreboot/+/29827"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: coreboot </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I8126c21b8fbe8dd65d95af49cbe2ad776b8ef605 </div>
<div style="display:none"> Gerrit-Change-Number: 29827 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </div>
<div style="display:none"> Gerrit-Owner: Werner Zeh <werner.zeh@siemens.com> </div>
<div style="display:none"> Gerrit-Reviewer: Martin Roth <martinroth@google.com> </div>
<div style="display:none"> Gerrit-Reviewer: Patrick Georgi <pgeorgi@google.com> </div>
<div style="display:none"> Gerrit-Reviewer: Philipp Deppenwiese <zaolin.daisuki@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: Werner Zeh <werner.zeh@siemens.com> </div>
<div style="display:none"> Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>