1 # SPDX-License-Identifier: GPL-2.0+
3 ifeq ($(CONFIG_EFI_APP),)
4 ifdef CONFIG_$(SPL_)X86_64
5 head-y := arch/x86/cpu/start64.o
7 ifeq ($(CONFIG_$(SPL_TPL_)X86_16BIT_INIT),y)
8 head-y := arch/x86/cpu/start.o
11 head-y := arch/x86/cpu/start.o
13 ifdef CONFIG_SPL_BUILD
14 head-y = arch/x86/cpu/start_from_tpl.o
16 head-y = arch/x86/cpu/start_from_spl.o
23 head-$(CONFIG_$(SPL_TPL_)X86_16BIT_INIT) += arch/x86/cpu/start16.o
24 head-$(CONFIG_$(SPL_TPL_)X86_16BIT_INIT) += arch/x86/cpu/resetvec.o
26 libs-y += arch/x86/cpu/
27 libs-y += arch/x86/lib/