1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0 204851772SMatt Fleming# 304851772SMatt Fleming# Makefile for linux kernel 404851772SMatt Fleming# 539d114ddSAndrey Ryabinin 639d114ddSAndrey Ryabinin# 739d114ddSAndrey Ryabinin# ARM64 maps efi runtime services in userspace addresses 839d114ddSAndrey Ryabinin# which don't have KASAN shadow. So dereference of these addresses 939d114ddSAndrey Ryabinin# in efi_call_virt() will cause crash if this code instrumented. 1039d114ddSAndrey Ryabinin# 1139d114ddSAndrey RyabininKASAN_SANITIZE_runtime-wrappers.o := n 1239d114ddSAndrey Ryabinin 1375def552SBhupesh Sharmaobj-$(CONFIG_ACPI_BGRT) += efi-bgrt.o 1433b6d034SThiebaud Weksteenobj-$(CONFIG_EFI) += efi.o vars.o reboot.o memattr.o tpm.o 1560863c0dSMatt Flemingobj-$(CONFIG_EFI) += capsule.o memmap.o 16a9499fa7STom Gundersenobj-$(CONFIG_EFI_VARS) += efivars.o 173846c158SPeter Jonesobj-$(CONFIG_EFI_ESRT) += esrt.o 1804851772SMatt Flemingobj-$(CONFIG_EFI_VARS_PSTORE) += efi-pstore.o 197ea6c6c1SLuck, Tonyobj-$(CONFIG_UEFI_CPER) += cper.o 20926172d4SDave Youngobj-$(CONFIG_EFI_RUNTIME_MAP) += runtime-map.o 21022ee6c5SArd Biesheuvelobj-$(CONFIG_EFI_RUNTIME_WRAPPERS) += runtime-wrappers.o 22243b6754SArd Biesheuvelobj-$(CONFIG_EFI_STUB) += libstub/ 230f96a99dSTaku Izumiobj-$(CONFIG_EFI_FAKE_MEMMAP) += fake_mem.o 2406f7d4a1SCompostella, Jeremyobj-$(CONFIG_EFI_BOOTLOADER_CONTROL) += efibc.o 25ff6301daSIvan Huobj-$(CONFIG_EFI_TEST) += test/ 2646cd4b75SLukas Wunnerobj-$(CONFIG_EFI_DEV_PATH_PARSER) += dev-path-parser.o 2758c5475aSLukas Wunnerobj-$(CONFIG_APPLE_PROPERTIES) += apple-properties.o 28e5bc22a4SArd Biesheuvel 29e5bc22a4SArd Biesheuvelarm-obj-$(CONFIG_EFI) := arm-init.o arm-runtime.o 30da58fb65SArd Biesheuvelobj-$(CONFIG_ARM) += $(arm-obj-y) 31e5bc22a4SArd Biesheuvelobj-$(CONFIG_ARM64) += $(arm-obj-y) 3265117f1aSKweh, Hock Leongobj-$(CONFIG_EFI_CAPSULE_LOADER) += capsule-loader.o 33c6d8c8efSTyler Baicarobj-$(CONFIG_UEFI_CPER_ARM) += cper-arm.o 34f9e1bdb9SYazen Ghannamobj-$(CONFIG_UEFI_CPER_X86) += cper-x86.o 35