blob: fec14847cc572c439be3579f849f1f563a58d7af [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001# SPDX-License-Identifier: GPL-2.0+
Daniel Schwierzecke19db552014-11-21 23:51:33 +01002
Ben Stoltz3dcdd172015-08-04 12:33:46 -06003ifeq ($(CONFIG_EFI_APP),)
Simon Glassdca92202017-01-16 07:03:48 -07004ifdef CONFIG_$(SPL_)X86_64
5head-y := arch/x86/cpu/start64.o
6else
Daniel Schwierzecke19db552014-11-21 23:51:33 +01007head-y := arch/x86/cpu/start.o
Ben Stoltz3dcdd172015-08-04 12:33:46 -06008endif
Simon Glassdca92202017-01-16 07:03:48 -07009endif
10
Simon Glass972188b2017-01-16 07:03:45 -070011head-$(CONFIG_$(SPL_)X86_16BIT_INIT) += arch/x86/cpu/start16.o
12head-$(CONFIG_$(SPL_)X86_16BIT_INIT) += arch/x86/cpu/resetvec.o
Daniel Schwierzecke19db552014-11-21 23:51:33 +010013
14libs-y += arch/x86/cpu/
15libs-y += arch/x86/lib/