x86: Add common Intel code for SPL
[oweals/u-boot.git] / arch / x86 / cpu / intel_common / Makefile
index 80fbc7ab6616b765b861ed571666acd0589f8124..57cca0b930c0dc00ce8b0814e6353ad3691df178 100644 (file)
@@ -14,3 +14,9 @@ ifndef CONFIG_TARGET_EFI_APP
 obj-y += microcode.o
 endif
 obj-y += pch.o
+
+ifdef CONFIG_SPL
+ifndef CONFIG_SPL_BUILD
+obj-y += cpu_from_spl.o
+endif
+endif