Makefile 1023 字节
Newer Older
1 2 3
#
# Makefile for linux kernel
#
A
Andrey Ryabinin 已提交
4 5 6 7 8 9 10 11

#
# ARM64 maps efi runtime services in userspace addresses
# which don't have KASAN shadow. So dereference of these addresses
# in efi_call_virt() will cause crash if this code instrumented.
#
KASAN_SANITIZE_runtime-wrappers.o	:= n

12
obj-$(CONFIG_EFI)			+= efi.o vars.o reboot.o memattr.o
13
obj-$(CONFIG_EFI)			+= capsule.o memmap.o
14
obj-$(CONFIG_EFI_VARS)			+= efivars.o
15
obj-$(CONFIG_EFI_ESRT)			+= esrt.o
16
obj-$(CONFIG_EFI_VARS_PSTORE)		+= efi-pstore.o
17
obj-$(CONFIG_UEFI_CPER)			+= cper.o
18
obj-$(CONFIG_EFI_RUNTIME_MAP)		+= runtime-map.o
19
obj-$(CONFIG_EFI_RUNTIME_WRAPPERS)	+= runtime-wrappers.o
A
Ard Biesheuvel 已提交
20
obj-$(CONFIG_EFI_STUB)			+= libstub/
T
Taku Izumi 已提交
21
obj-$(CONFIG_EFI_FAKE_MEMMAP)		+= fake_mem.o
22
obj-$(CONFIG_EFI_BOOTLOADER_CONTROL)	+= efibc.o
23
obj-$(CONFIG_EFI_TEST)			+= test/
L
Lukas Wunner 已提交
24
obj-$(CONFIG_EFI_DEV_PATH_PARSER)	+= dev-path-parser.o
25 26

arm-obj-$(CONFIG_EFI)			:= arm-init.o arm-runtime.o
27
obj-$(CONFIG_ARM)			+= $(arm-obj-y)
28
obj-$(CONFIG_ARM64)			+= $(arm-obj-y)
29
obj-$(CONFIG_EFI_CAPSULE_LOADER)	+= capsule-loader.o