Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
Daniel Schwierzeck | 17def7d | 2014-11-21 23:51:33 +0100 | [diff] [blame] | 2 | |
Ben Stoltz | ab76a47 | 2015-08-04 12:33:46 -0600 | [diff] [blame] | 3 | ifeq ($(CONFIG_EFI_APP),) |
Simon Glass | 8157b33 | 2017-01-16 07:03:48 -0700 | [diff] [blame] | 4 | ifdef CONFIG_$(SPL_)X86_64 |
| 5 | head-y := arch/x86/cpu/start64.o |
| 6 | else |
Daniel Schwierzeck | 17def7d | 2014-11-21 23:51:33 +0100 | [diff] [blame] | 7 | head-y := arch/x86/cpu/start.o |
Ben Stoltz | ab76a47 | 2015-08-04 12:33:46 -0600 | [diff] [blame] | 8 | endif |
Simon Glass | 8157b33 | 2017-01-16 07:03:48 -0700 | [diff] [blame] | 9 | endif |
| 10 | |
Simon Glass | 706f6f5 | 2017-01-16 07:03:45 -0700 | [diff] [blame] | 11 | head-$(CONFIG_$(SPL_)X86_16BIT_INIT) += arch/x86/cpu/start16.o |
| 12 | head-$(CONFIG_$(SPL_)X86_16BIT_INIT) += arch/x86/cpu/resetvec.o |
Daniel Schwierzeck | 17def7d | 2014-11-21 23:51:33 +0100 | [diff] [blame] | 13 | |
| 14 | libs-y += arch/x86/cpu/ |
| 15 | libs-y += arch/x86/lib/ |