xref: /openbmc/linux/drivers/firmware/efi/Makefile (revision de2bdb3d)
1#
2# Makefile for linux kernel
3#
4
5#
6# ARM64 maps efi runtime services in userspace addresses
7# which don't have KASAN shadow. So dereference of these addresses
8# in efi_call_virt() will cause crash if this code instrumented.
9#
10KASAN_SANITIZE_runtime-wrappers.o	:= n
11
12obj-$(CONFIG_EFI)			+= efi.o vars.o reboot.o memattr.o
13obj-$(CONFIG_EFI)			+= capsule.o memmap.o
14obj-$(CONFIG_EFI_VARS)			+= efivars.o
15obj-$(CONFIG_EFI_ESRT)			+= esrt.o
16obj-$(CONFIG_EFI_VARS_PSTORE)		+= efi-pstore.o
17obj-$(CONFIG_UEFI_CPER)			+= cper.o
18obj-$(CONFIG_EFI_RUNTIME_MAP)		+= runtime-map.o
19obj-$(CONFIG_EFI_RUNTIME_WRAPPERS)	+= runtime-wrappers.o
20obj-$(CONFIG_EFI_STUB)			+= libstub/
21obj-$(CONFIG_EFI_FAKE_MEMMAP)		+= fake_mem.o
22obj-$(CONFIG_EFI_BOOTLOADER_CONTROL)	+= efibc.o
23obj-$(CONFIG_EFI_TEST)			+= test/
24
25arm-obj-$(CONFIG_EFI)			:= arm-init.o arm-runtime.o
26obj-$(CONFIG_ARM)			+= $(arm-obj-y)
27obj-$(CONFIG_ARM64)			+= $(arm-obj-y)
28obj-$(CONFIG_EFI_CAPSULE_LOADER)	+= capsule-loader.o
29