xref: /openbmc/linux/drivers/firmware/efi/Makefile (revision ff6301da)
104851772SMatt Fleming#
204851772SMatt Fleming# Makefile for linux kernel
304851772SMatt Fleming#
439d114ddSAndrey Ryabinin
539d114ddSAndrey Ryabinin#
639d114ddSAndrey Ryabinin# ARM64 maps efi runtime services in userspace addresses
739d114ddSAndrey Ryabinin# which don't have KASAN shadow. So dereference of these addresses
839d114ddSAndrey Ryabinin# in efi_call_virt() will cause crash if this code instrumented.
939d114ddSAndrey Ryabinin#
1039d114ddSAndrey RyabininKASAN_SANITIZE_runtime-wrappers.o	:= n
1139d114ddSAndrey Ryabinin
1210f0d2f5SArd Biesheuvelobj-$(CONFIG_EFI)			+= efi.o vars.o reboot.o memattr.o
1360863c0dSMatt Flemingobj-$(CONFIG_EFI)			+= capsule.o memmap.o
14a9499fa7STom Gundersenobj-$(CONFIG_EFI_VARS)			+= efivars.o
153846c158SPeter Jonesobj-$(CONFIG_EFI_ESRT)			+= esrt.o
1604851772SMatt Flemingobj-$(CONFIG_EFI_VARS_PSTORE)		+= efi-pstore.o
177ea6c6c1SLuck, Tonyobj-$(CONFIG_UEFI_CPER)			+= cper.o
18926172d4SDave Youngobj-$(CONFIG_EFI_RUNTIME_MAP)		+= runtime-map.o
19022ee6c5SArd Biesheuvelobj-$(CONFIG_EFI_RUNTIME_WRAPPERS)	+= runtime-wrappers.o
20243b6754SArd Biesheuvelobj-$(CONFIG_EFI_STUB)			+= libstub/
210f96a99dSTaku Izumiobj-$(CONFIG_EFI_FAKE_MEMMAP)		+= fake_mem.o
2206f7d4a1SCompostella, Jeremyobj-$(CONFIG_EFI_BOOTLOADER_CONTROL)	+= efibc.o
23ff6301daSIvan Huobj-$(CONFIG_EFI_TEST)			+= test/
24e5bc22a4SArd Biesheuvel
25e5bc22a4SArd Biesheuvelarm-obj-$(CONFIG_EFI)			:= arm-init.o arm-runtime.o
26da58fb65SArd Biesheuvelobj-$(CONFIG_ARM)			+= $(arm-obj-y)
27e5bc22a4SArd Biesheuvelobj-$(CONFIG_ARM64)			+= $(arm-obj-y)
2865117f1aSKweh, Hock Leongobj-$(CONFIG_EFI_CAPSULE_LOADER)	+= capsule-loader.o
29