From 2439b2e8bacb0b057b9a979f3bb26fd77c68624c Mon Sep 17 00:00:00 2001 From: Felix Held Date: Mon, 3 Apr 2023 19:18:32 +0200 Subject: cpu/x86/64bit/Makefile: use all_x86 make target Use the newly introduced 'all_x86' make target to add the mode_switch.S compilation unit to all stages that run on the x86 cores, but not to verstage on PSP. Signed-off-by: Felix Held Change-Id: I8950375d31557d9a38169869c1d250417261c31c Reviewed-on: https://review.coreboot.org/c/coreboot/+/74197 Tested-by: build bot (Jenkins) Reviewed-by: Matt DeVillier --- src/cpu/x86/64bit/Makefile.inc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/cpu/x86/64bit') diff --git a/src/cpu/x86/64bit/Makefile.inc b/src/cpu/x86/64bit/Makefile.inc index 526291a7fa..36c69b9520 100644 --- a/src/cpu/x86/64bit/Makefile.inc +++ b/src/cpu/x86/64bit/Makefile.inc @@ -1,8 +1,4 @@ -bootblock-y += mode_switch.S -verstage_x86-y += mode_switch.S -romstage-y += mode_switch.S -postcar-y += mode_switch.S -ramstage-y += mode_switch.S +all_x86-y += mode_switch.S # Add --defsym=_start=0 to suppress a linker warning. $(objcbfs)/pt: $(dir)/pt.S $(obj)/config.h -- cgit v1.2.3