summaryrefslogtreecommitdiff
path: root/src/cpu/x86/lapic/Makefile.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/x86/lapic/Makefile.mk')
-rw-r--r--src/cpu/x86/lapic/Makefile.mk11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/cpu/x86/lapic/Makefile.mk b/src/cpu/x86/lapic/Makefile.mk
new file mode 100644
index 0000000000..dd484ee6f6
--- /dev/null
+++ b/src/cpu/x86/lapic/Makefile.mk
@@ -0,0 +1,11 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
+ramstage-$(CONFIG_AP_IN_SIPI_WAIT) += lapic_cpu_stop.c
+
+bootblock-$(CONFIG_UDELAY_LAPIC) += apic_timer.c
+romstage-$(CONFIG_UDELAY_LAPIC) += apic_timer.c
+ramstage-$(CONFIG_UDELAY_LAPIC) += apic_timer.c
+postcar-$(CONFIG_UDELAY_LAPIC) += apic_timer.c
+
+all_x86-y += boot_cpu.c
+all_x86-y += lapic.c