WIP FPC-III support
[linux/fpc-iii.git] / drivers / firmware / efi / Makefile
blob467e94259679f28d95315bb5d66774926b020e1d
1 # SPDX-License-Identifier: GPL-2.0
3 # Makefile for linux kernel
7 # ARM64 maps efi runtime services in userspace addresses
8 # which don't have KASAN shadow. So dereference of these addresses
9 # in efi_call_virt() will cause crash if this code instrumented.
11 KASAN_SANITIZE_runtime-wrappers.o := n
13 obj-$(CONFIG_ACPI_BGRT) += efi-bgrt.o
14 obj-$(CONFIG_EFI) += efi.o vars.o reboot.o memattr.o tpm.o
15 obj-$(CONFIG_EFI) += memmap.o
16 ifneq ($(CONFIG_EFI_CAPSULE_LOADER),)
17 obj-$(CONFIG_EFI) += capsule.o
18 endif
19 obj-$(CONFIG_EFI_PARAMS_FROM_FDT) += fdtparams.o
20 obj-$(CONFIG_EFI_VARS) += efivars.o
21 obj-$(CONFIG_EFI_ESRT) += esrt.o
22 obj-$(CONFIG_EFI_VARS_PSTORE) += efi-pstore.o
23 obj-$(CONFIG_UEFI_CPER) += cper.o
24 obj-$(CONFIG_EFI_RUNTIME_MAP) += runtime-map.o
25 obj-$(CONFIG_EFI_RUNTIME_WRAPPERS) += runtime-wrappers.o
26 subdir-$(CONFIG_EFI_STUB) += libstub
27 obj-$(CONFIG_EFI_FAKE_MEMMAP) += fake_map.o
28 obj-$(CONFIG_EFI_BOOTLOADER_CONTROL) += efibc.o
29 obj-$(CONFIG_EFI_TEST) += test/
30 obj-$(CONFIG_EFI_DEV_PATH_PARSER) += dev-path-parser.o
31 obj-$(CONFIG_APPLE_PROPERTIES) += apple-properties.o
32 obj-$(CONFIG_EFI_RCI2_TABLE) += rci2-table.o
33 obj-$(CONFIG_EFI_EMBEDDED_FIRMWARE) += embedded-firmware.o
34 obj-$(CONFIG_LOAD_UEFI_KEYS) += mokvar-table.o
36 fake_map-y += fake_mem.o
37 fake_map-$(CONFIG_X86) += x86_fake_mem.o
39 arm-obj-$(CONFIG_EFI) := efi-init.o arm-runtime.o
40 obj-$(CONFIG_ARM) += $(arm-obj-y)
41 obj-$(CONFIG_ARM64) += $(arm-obj-y)
42 riscv-obj-$(CONFIG_EFI) := efi-init.o riscv-runtime.o
43 obj-$(CONFIG_RISCV) += $(riscv-obj-y)
44 obj-$(CONFIG_EFI_CAPSULE_LOADER) += capsule-loader.o
45 obj-$(CONFIG_EFI_EARLYCON) += earlycon.o
46 obj-$(CONFIG_UEFI_CPER_ARM) += cper-arm.o
47 obj-$(CONFIG_UEFI_CPER_X86) += cper-x86.o