diff options
Diffstat (limited to 'arch/x86/cpu/intel_common/Makefile')
-rw-r--r-- | arch/x86/cpu/intel_common/Makefile | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/arch/x86/cpu/intel_common/Makefile b/arch/x86/cpu/intel_common/Makefile index bf798c287f..07f27c29ec 100644 --- a/arch/x86/cpu/intel_common/Makefile +++ b/arch/x86/cpu/intel_common/Makefile | |||
@@ -3,14 +3,23 @@ | |||
3 | # Copyright (c) 2016 Google, Inc | 3 | # Copyright (c) 2016 Google, Inc |
4 | 4 | ||
5 | ifdef CONFIG_HAVE_MRC | 5 | ifdef CONFIG_HAVE_MRC |
6 | obj-$(CONFIG_$(SPL_)X86_32BIT_INIT) += car.o | 6 | obj-$(CONFIG_$(SPL_TPL_)X86_16BIT_INIT) += car.o |
7 | obj-$(CONFIG_$(SPL_)X86_32BIT_INIT) += me_status.o | 7 | obj-$(CONFIG_$(SPL_TPL_)X86_32BIT_INIT) += me_status.o |
8 | obj-$(CONFIG_$(SPL_)X86_32BIT_INIT) += report_platform.o | 8 | obj-$(CONFIG_$(SPL_TPL_)X86_32BIT_INIT) += report_platform.o |
9 | obj-$(CONFIG_$(SPL_)X86_32BIT_INIT) += mrc.o | 9 | obj-$(CONFIG_$(SPL_TPL_)X86_32BIT_INIT) += mrc.o |
10 | endif | 10 | endif |
11 | obj-y += cpu.o | 11 | obj-y += cpu.o |
12 | obj-y += lpc.o | 12 | obj-y += lpc.o |
13 | ifndef CONFIG_TARGET_EFI_APP | 13 | ifndef CONFIG_TARGET_EFI_APP |
14 | obj-$(CONFIG_$(SPL_TPL_)X86_32BIT_INIT) += microcode.o | ||
15 | ifndef CONFIG_$(SPL_)X86_64 | ||
14 | obj-y += microcode.o | 16 | obj-y += microcode.o |
15 | endif | 17 | endif |
18 | endif | ||
16 | obj-y += pch.o | 19 | obj-y += pch.o |
20 | |||
21 | ifdef CONFIG_SPL | ||
22 | ifndef CONFIG_SPL_BUILD | ||
23 | obj-y += cpu_from_spl.o | ||
24 | endif | ||
25 | endif | ||