blob: 4be1c353cc9e2bcb1a396938a28f355136a1caaf [file] [log] [blame]
Daniel Schwierzecke19db552014-11-21 23:51:33 +01001#
2# SPDX-License-Identifier: GPL-2.0+
3#
4
Ben Stoltz3dcdd172015-08-04 12:33:46 -06005ifeq ($(CONFIG_EFI_APP),)
Simon Glassdca92202017-01-16 07:03:48 -07006ifdef CONFIG_$(SPL_)X86_64
7head-y := arch/x86/cpu/start64.o
8else
Daniel Schwierzecke19db552014-11-21 23:51:33 +01009head-y := arch/x86/cpu/start.o
Ben Stoltz3dcdd172015-08-04 12:33:46 -060010endif
Simon Glassdca92202017-01-16 07:03:48 -070011endif
12
Simon Glass972188b2017-01-16 07:03:45 -070013head-$(CONFIG_$(SPL_)X86_16BIT_INIT) += arch/x86/cpu/start16.o
14head-$(CONFIG_$(SPL_)X86_16BIT_INIT) += arch/x86/cpu/resetvec.o
Daniel Schwierzecke19db552014-11-21 23:51:33 +010015
16libs-y += arch/x86/cpu/
17libs-y += arch/x86/lib/