summaryrefslogtreecommitdiff
path: root/src/cpu/x86/64bit
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2022-04-21 12:00:21 +0200
committerFelix Held <felix-coreboot@felixheld.de>2022-04-25 13:56:54 +0000
commit34f5cd9cb233dea539a94ff2cc8c06effced988d (patch)
tree176a47484b34aa38cbf4edda43f592bb8ba4937c /src/cpu/x86/64bit
parent0aa1ac41c33e6cd53c42c6b697b676c0f3ced3eb (diff)
cpu/x86/64bit: Add a separate Makefile.inc
Follow-up patches will add more to this makefile. Change-Id: I8da6265b4c810e39a67f5ec27e26eeb26e3679a4 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/63758 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Raul Rangel <rrangel@chromium.org> Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com>
Diffstat (limited to 'src/cpu/x86/64bit')
-rw-r--r--src/cpu/x86/64bit/Makefile.inc7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/cpu/x86/64bit/Makefile.inc b/src/cpu/x86/64bit/Makefile.inc
new file mode 100644
index 0000000000..721e62044d
--- /dev/null
+++ b/src/cpu/x86/64bit/Makefile.inc
@@ -0,0 +1,7 @@
+bootblock-y += mode_switch.S
+ifneq ($(CONFIG_VBOOT_STARTS_BEFORE_BOOTBLOCK),y)
+verstage-y += mode_switch.S
+endif
+romstage-y += mode_switch.S
+postcar-y += mode_switch.S
+ramstage-y += mode_switch.S