summaryrefslogtreecommitdiff
path: root/src/cpu/x86/64bit
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2023-04-03 19:18:32 +0200
committerFelix Held <felix-coreboot@felixheld.de>2023-04-04 19:22:33 +0000
commit2439b2e8bacb0b057b9a979f3bb26fd77c68624c (patch)
tree4213e6951c001ef474ecec116f33b775649daf3a /src/cpu/x86/64bit
parent549528d4a22a875985e41c34ac7b9c73f463478d (diff)
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 <felix-coreboot@felixheld.de> Change-Id: I8950375d31557d9a38169869c1d250417261c31c Reviewed-on: https://review.coreboot.org/c/coreboot/+/74197 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com>
Diffstat (limited to 'src/cpu/x86/64bit')
-rw-r--r--src/cpu/x86/64bit/Makefile.inc6
1 files changed, 1 insertions, 5 deletions
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