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