18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0 28c2ecf20Sopenharmony_ci# 38c2ecf20Sopenharmony_ci# Makefile for linux kernel 48c2ecf20Sopenharmony_ci# 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ci# 78c2ecf20Sopenharmony_ci# ARM64 maps efi runtime services in userspace addresses 88c2ecf20Sopenharmony_ci# which don't have KASAN shadow. So dereference of these addresses 98c2ecf20Sopenharmony_ci# in efi_call_virt() will cause crash if this code instrumented. 108c2ecf20Sopenharmony_ci# 118c2ecf20Sopenharmony_ciKASAN_SANITIZE_runtime-wrappers.o := n 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_ciobj-$(CONFIG_ACPI_BGRT) += efi-bgrt.o 148c2ecf20Sopenharmony_ciobj-$(CONFIG_EFI) += efi.o vars.o reboot.o memattr.o tpm.o 158c2ecf20Sopenharmony_ciobj-$(CONFIG_EFI) += capsule.o memmap.o 168c2ecf20Sopenharmony_ciobj-$(CONFIG_EFI_PARAMS_FROM_FDT) += fdtparams.o 178c2ecf20Sopenharmony_ciobj-$(CONFIG_EFI_VARS) += efivars.o 188c2ecf20Sopenharmony_ciobj-$(CONFIG_EFI_ESRT) += esrt.o 198c2ecf20Sopenharmony_ciobj-$(CONFIG_EFI_VARS_PSTORE) += efi-pstore.o 208c2ecf20Sopenharmony_ciobj-$(CONFIG_UEFI_CPER) += cper.o 218c2ecf20Sopenharmony_ciobj-$(CONFIG_EFI_RUNTIME_MAP) += runtime-map.o 228c2ecf20Sopenharmony_ciobj-$(CONFIG_EFI_RUNTIME_WRAPPERS) += runtime-wrappers.o 238c2ecf20Sopenharmony_cisubdir-$(CONFIG_EFI_STUB) += libstub 248c2ecf20Sopenharmony_ciobj-$(CONFIG_EFI_FAKE_MEMMAP) += fake_map.o 258c2ecf20Sopenharmony_ciobj-$(CONFIG_EFI_BOOTLOADER_CONTROL) += efibc.o 268c2ecf20Sopenharmony_ciobj-$(CONFIG_EFI_TEST) += test/ 278c2ecf20Sopenharmony_ciobj-$(CONFIG_EFI_DEV_PATH_PARSER) += dev-path-parser.o 288c2ecf20Sopenharmony_ciobj-$(CONFIG_APPLE_PROPERTIES) += apple-properties.o 298c2ecf20Sopenharmony_ciobj-$(CONFIG_EFI_RCI2_TABLE) += rci2-table.o 308c2ecf20Sopenharmony_ciobj-$(CONFIG_EFI_EMBEDDED_FIRMWARE) += embedded-firmware.o 318c2ecf20Sopenharmony_ciobj-$(CONFIG_LOAD_UEFI_KEYS) += mokvar-table.o 328c2ecf20Sopenharmony_ci 338c2ecf20Sopenharmony_cifake_map-y += fake_mem.o 348c2ecf20Sopenharmony_cifake_map-$(CONFIG_X86) += x86_fake_mem.o 358c2ecf20Sopenharmony_ci 368c2ecf20Sopenharmony_ciarm-obj-$(CONFIG_EFI) := efi-init.o arm-runtime.o 378c2ecf20Sopenharmony_ciobj-$(CONFIG_ARM) += $(arm-obj-y) 388c2ecf20Sopenharmony_ciobj-$(CONFIG_ARM64) += $(arm-obj-y) 398c2ecf20Sopenharmony_ciriscv-obj-$(CONFIG_EFI) := efi-init.o riscv-runtime.o 408c2ecf20Sopenharmony_ciobj-$(CONFIG_RISCV) += $(riscv-obj-y) 418c2ecf20Sopenharmony_ciobj-$(CONFIG_EFI_CAPSULE_LOADER) += capsule-loader.o 428c2ecf20Sopenharmony_ciobj-$(CONFIG_EFI_EARLYCON) += earlycon.o 438c2ecf20Sopenharmony_ciobj-$(CONFIG_UEFI_CPER_ARM) += cper-arm.o 448c2ecf20Sopenharmony_ciobj-$(CONFIG_UEFI_CPER_X86) += cper-x86.o 45