diff options
author | Aaron Durbin <adurbin@chromium.org> | 2015-10-07 15:31:35 -0500 |
---|---|---|
committer | Aaron Durbin <adurbin@chromium.org> | 2015-10-14 17:07:31 +0000 |
commit | e3d2d6fd70ed932c98ac19f6294cb610d27fa7bf (patch) | |
tree | 855ab0adfd63bcc2d0664ae3298b215f7552211d /src | |
parent | 6f499069e8fac8c12a2e2872b51ea4ff43957eb8 (diff) | |
download | coreboot-e3d2d6fd70ed932c98ac19f6294cb610d27fa7bf.tar.xz |
vboot: allow more flexibility when adding verstage
When a separate verstage is employed the verstage file
was just being added through the cbfs-files mechanism.
However, that doesn't allow one to specify other flags
that aren't supported that an architecture may require.
The x86 architecture is one of those entities in that
it needs its verstage to be XIP. To that end provide
a mechanism for adding verstage with options.
BUG=chrome-os-partner:44827
BRANCH=None
TEST=Built and booted glados using his mechansim on x86.
Change-Id: Iaba053a55a4d84d8455026e7d6fa548744edaa28
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/11819
Tested-by: build bot (Jenkins)
Reviewed-by: Duncan Laurie <dlaurie@google.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src')
-rw-r--r-- | src/vendorcode/google/chromeos/vboot2/Makefile.inc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/vendorcode/google/chromeos/vboot2/Makefile.inc b/src/vendorcode/google/chromeos/vboot2/Makefile.inc index c2ee868a7b..11ce2821d8 100644 --- a/src/vendorcode/google/chromeos/vboot2/Makefile.inc +++ b/src/vendorcode/google/chromeos/vboot2/Makefile.inc @@ -73,10 +73,7 @@ $(VB2_LIB): $(obj)/config.h libverstage-srcs += $(VB2_LIB) ifeq ($(CONFIG_SEPARATE_VERSTAGE),y) -cbfs-files-y += $(call strip_quotes,$(CONFIG_CBFS_PREFIX))/verstage -$(call strip_quotes,$(CONFIG_CBFS_PREFIX))/verstage-file = $(objcbfs)/verstage.elf -$(call strip_quotes,$(CONFIG_CBFS_PREFIX))/verstage-type = stage -$(call strip_quotes,$(CONFIG_CBFS_PREFIX))/verstage-compression = none +VERSTAGE_FILE = $(objcbfs)/verstage.elf else ifeq ($(CONFIG_VBOOT_STARTS_IN_BOOTBLOCK),y) bootblock-srcs += $(objgenerated)/libverstage.a |