Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame^] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
Daniel Schwierzeck | e19db55 | 2014-11-21 23:51:33 +0100 | [diff] [blame] | 2 | |
Ben Stoltz | 3dcdd17 | 2015-08-04 12:33:46 -0600 | [diff] [blame] | 3 | ifeq ($(CONFIG_EFI_APP),) |
Simon Glass | dca9220 | 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 | e19db55 | 2014-11-21 23:51:33 +0100 | [diff] [blame] | 7 | head-y := arch/x86/cpu/start.o |
Ben Stoltz | 3dcdd17 | 2015-08-04 12:33:46 -0600 | [diff] [blame] | 8 | endif |
Simon Glass | dca9220 | 2017-01-16 07:03:48 -0700 | [diff] [blame] | 9 | endif |
| 10 | |
Simon Glass | 972188b | 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 | e19db55 | 2014-11-21 23:51:33 +0100 | [diff] [blame] | 13 | |
| 14 | libs-y += arch/x86/cpu/ |
| 15 | libs-y += arch/x86/lib/ |