cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

Makefile (1762B)


      1# SPDX-License-Identifier: GPL-2.0
      2#
      3# Makefile for linux kernel
      4#
      5
      6#
      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.
     10#
     11KASAN_SANITIZE_runtime-wrappers.o	:= n
     12
     13obj-$(CONFIG_ACPI_BGRT) 		+= efi-bgrt.o
     14obj-$(CONFIG_EFI)			+= efi.o vars.o reboot.o memattr.o tpm.o
     15obj-$(CONFIG_EFI)			+= memmap.o
     16ifneq ($(CONFIG_EFI_CAPSULE_LOADER),)
     17obj-$(CONFIG_EFI)			+= capsule.o
     18endif
     19obj-$(CONFIG_EFI_PARAMS_FROM_FDT)	+= fdtparams.o
     20obj-$(CONFIG_EFI_VARS)			+= efivars.o
     21obj-$(CONFIG_EFI_ESRT)			+= esrt.o
     22obj-$(CONFIG_EFI_VARS_PSTORE)		+= efi-pstore.o
     23obj-$(CONFIG_UEFI_CPER)			+= cper.o
     24obj-$(CONFIG_EFI_RUNTIME_MAP)		+= runtime-map.o
     25obj-$(CONFIG_EFI_RUNTIME_WRAPPERS)	+= runtime-wrappers.o
     26subdir-$(CONFIG_EFI_STUB)		+= libstub
     27obj-$(CONFIG_EFI_FAKE_MEMMAP)		+= fake_map.o
     28obj-$(CONFIG_EFI_BOOTLOADER_CONTROL)	+= efibc.o
     29obj-$(CONFIG_EFI_TEST)			+= test/
     30obj-$(CONFIG_EFI_DEV_PATH_PARSER)	+= dev-path-parser.o
     31obj-$(CONFIG_APPLE_PROPERTIES)		+= apple-properties.o
     32obj-$(CONFIG_EFI_RCI2_TABLE)		+= rci2-table.o
     33obj-$(CONFIG_EFI_EMBEDDED_FIRMWARE)	+= embedded-firmware.o
     34obj-$(CONFIG_LOAD_UEFI_KEYS)		+= mokvar-table.o
     35
     36fake_map-y				+= fake_mem.o
     37fake_map-$(CONFIG_X86)			+= x86_fake_mem.o
     38
     39obj-$(CONFIG_SYSFB)			+= sysfb_efi.o
     40
     41arm-obj-$(CONFIG_EFI)			:= efi-init.o arm-runtime.o
     42obj-$(CONFIG_ARM)			+= $(arm-obj-y)
     43obj-$(CONFIG_ARM64)			+= $(arm-obj-y)
     44riscv-obj-$(CONFIG_EFI)			:= efi-init.o riscv-runtime.o
     45obj-$(CONFIG_RISCV)			+= $(riscv-obj-y)
     46obj-$(CONFIG_EFI_CAPSULE_LOADER)	+= capsule-loader.o
     47obj-$(CONFIG_EFI_EARLYCON)		+= earlycon.o
     48obj-$(CONFIG_UEFI_CPER_ARM)		+= cper-arm.o
     49obj-$(CONFIG_UEFI_CPER_X86)		+= cper-x86.o