mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 23:51:33 +00:00
4f1dacd43f
At present the EFI application and payload support codes in the x86 directory is distributed in a hybrid way. For example, the Kconfig options for both app and payload are in arch/x86/lib/efi/Kconfig, but the source codes in the same directory get built only for CONFIG_EFI_STUB. This refactors the codes by consolidating all the EFI support codes into arch/x86/cpu/efi, just like other x86 targets. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
13 lines
194 B
Makefile
13 lines
194 B
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
# Copyright (c) 2015 Google, Inc
|
|
|
|
ifdef CONFIG_EFI_APP
|
|
obj-y += efi.o
|
|
obj-y += sdram.o
|
|
endif
|
|
|
|
ifdef CONFIG_EFI_STUB
|
|
obj-y += car.o
|
|
obj-y += payload.o
|
|
endif
|