From 7bea0846db3ba262512a36170e8ea38135522001 Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Wed, 6 Jun 2018 18:19:56 +0200 Subject: arch/x86: include verstage.c only when verstage is a separate stage Change-Id: Ia75205001f2443cb8221a0762f182aae01ee615e Signed-off-by: Arthur Heymans Reviewed-on: https://review.coreboot.org/26924 Reviewed-by: Aaron Durbin Tested-by: build bot (Jenkins) --- src/arch/x86/Makefile.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/arch/x86/Makefile.inc') diff --git a/src/arch/x86/Makefile.inc b/src/arch/x86/Makefile.inc index c15f829209..d8430c501e 100644 --- a/src/arch/x86/Makefile.inc +++ b/src/arch/x86/Makefile.inc @@ -180,10 +180,10 @@ verstage-y += memset.c verstage-y += memcpy.c verstage-y += memmove.c verstage-$(CONFIG_X86_TOP4G_BOOTMEDIA_MAP) += mmap_boot.c -# If C environment is used for bootblock it means there's no need +# If verstage is a separate stage it means there's no need # for a chipset-specific car_stage_entry() so use the generic one # which just calls verstage(). -verstage-$(CONFIG_C_ENVIRONMENT_BOOTBLOCK) += verstage.c +verstage-$(CONFIG_VBOOT_SEPARATE_VERSTAGE) += verstage.c verstage-$(CONFIG_COLLECT_TIMESTAMPS_TSC) += timestamp.c -- cgit v1.2.3