blob: c8a439f6d7152c9cd90300d74b361ec4277bf9c7 [file] [log] [blame]
Matt Fleming04851772013-02-08 15:48:51 +00001#
2# Makefile for linux kernel
3#
Andrey Ryabinin39d114d2015-10-12 18:52:58 +03004
5#
6# ARM64 maps efi runtime services in userspace addresses
7# which don't have KASAN shadow. So dereference of these addresses
8# in efi_call_virt() will cause crash if this code instrumented.
9#
10KASAN_SANITIZE_runtime-wrappers.o := n
11
Ard Biesheuvel10f0d2f52016-04-25 21:06:45 +010012obj-$(CONFIG_EFI) += efi.o vars.o reboot.o memattr.o
Matt Fleming60863c02016-02-29 20:30:39 +000013obj-$(CONFIG_EFI) += capsule.o memmap.o
Tom Gundersena9499fa2013-02-08 15:37:06 +000014obj-$(CONFIG_EFI_VARS) += efivars.o
Peter Jones3846c152015-06-05 15:14:54 -040015obj-$(CONFIG_EFI_ESRT) += esrt.o
Matt Fleming04851772013-02-08 15:48:51 +000016obj-$(CONFIG_EFI_VARS_PSTORE) += efi-pstore.o
Luck, Tony7ea6c6c2013-10-28 14:06:55 -070017obj-$(CONFIG_UEFI_CPER) += cper.o
Dave Young926172d2013-12-20 18:02:18 +080018obj-$(CONFIG_EFI_RUNTIME_MAP) += runtime-map.o
Ard Biesheuvel022ee6c2014-06-26 12:09:05 +020019obj-$(CONFIG_EFI_RUNTIME_WRAPPERS) += runtime-wrappers.o
Ard Biesheuvel243b6752014-11-05 17:00:56 +010020obj-$(CONFIG_EFI_STUB) += libstub/
Taku Izumi0f96a992015-09-30 23:01:56 +090021obj-$(CONFIG_EFI_FAKE_MEMMAP) += fake_mem.o
Compostella, Jeremy06f7d4a2016-04-25 21:06:57 +010022obj-$(CONFIG_EFI_BOOTLOADER_CONTROL) += efibc.o
Ivan Huff6301d2016-08-25 11:15:31 +080023obj-$(CONFIG_EFI_TEST) += test/
Ard Biesheuvele5bc22a2015-11-30 13:28:18 +010024
25arm-obj-$(CONFIG_EFI) := arm-init.o arm-runtime.o
Ard Biesheuvelda58fb62015-09-24 13:49:52 -070026obj-$(CONFIG_ARM) += $(arm-obj-y)
Ard Biesheuvele5bc22a2015-11-30 13:28:18 +010027obj-$(CONFIG_ARM64) += $(arm-obj-y)
Kweh, Hock Leong65117f12016-04-25 21:07:01 +010028obj-$(CONFIG_EFI_CAPSULE_LOADER) += capsule-loader.o