summaryrefslogtreecommitdiff
path: root/src/cpu/intel/common/Makefile.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/intel/common/Makefile.mk')
-rw-r--r--src/cpu/intel/common/Makefile.mk17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/cpu/intel/common/Makefile.mk b/src/cpu/intel/common/Makefile.mk
new file mode 100644
index 0000000000..8b247abe17
--- /dev/null
+++ b/src/cpu/intel/common/Makefile.mk
@@ -0,0 +1,17 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
+bootblock-$(CONFIG_CPU_INTEL_COMMON) += common_init.c
+romstage-$(CONFIG_CPU_INTEL_COMMON) += common_init.c
+postcar-$(CONFIG_CPU_INTEL_COMMON) += common_init.c
+ramstage-$(CONFIG_CPU_INTEL_COMMON) += common_init.c
+ramstage-$(CONFIG_CPU_INTEL_COMMON) += hyperthreading.c
+ramstage-$(CONFIG_CPU_INTEL_COMMON_VOLTAGE) += voltage.c
+
+ifeq ($(CONFIG_CPU_INTEL_COMMON_TIMEBASE),y)
+bootblock-y += fsb.c
+verstage-y += fsb.c
+romstage-y += fsb.c
+postcar-y += fsb.c
+ramstage-y += fsb.c
+smm-y += fsb.c
+endif