blob: 4ac2de4dfa72aaf6e22a351417dd5c1dac207819 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Matt Fleming04851772013-02-08 15:48:51 +00002#
3# Makefile for linux kernel
4#
Andrey Ryabinin39d114d2015-10-12 18:52:58 +03005
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
Bhupesh Sharma75def552017-04-04 17:02:40 +010013obj-$(CONFIG_ACPI_BGRT) += efi-bgrt.o
Thiebaud Weksteen33b6d032017-09-20 10:13:39 +020014obj-$(CONFIG_EFI) += efi.o vars.o reboot.o memattr.o tpm.o
Matt Fleming60863c02016-02-29 20:30:39 +000015obj-$(CONFIG_EFI) += capsule.o memmap.o
Tom Gundersena9499fa2013-02-08 15:37:06 +000016obj-$(CONFIG_EFI_VARS) += efivars.o
Peter Jones3846c152015-06-05 15:14:54 -040017obj-$(CONFIG_EFI_ESRT) += esrt.o
Matt Fleming04851772013-02-08 15:48:51 +000018obj-$(CONFIG_EFI_VARS_PSTORE) += efi-pstore.o
Luck, Tony7ea6c6c2013-10-28 14:06:55 -070019obj-$(CONFIG_UEFI_CPER) += cper.o
Dave Young926172d2013-12-20 18:02:18 +080020obj-$(CONFIG_EFI_RUNTIME_MAP) += runtime-map.o
Ard Biesheuvel022ee6c2014-06-26 12:09:05 +020021obj-$(CONFIG_EFI_RUNTIME_WRAPPERS) += runtime-wrappers.o
Ard Biesheuvel243b6752014-11-05 17:00:56 +010022obj-$(CONFIG_EFI_STUB) += libstub/
Taku Izumi0f96a992015-09-30 23:01:56 +090023obj-$(CONFIG_EFI_FAKE_MEMMAP) += fake_mem.o
Compostella, Jeremy06f7d4a2016-04-25 21:06:57 +010024obj-$(CONFIG_EFI_BOOTLOADER_CONTROL) += efibc.o
Ivan Huff6301d2016-08-25 11:15:31 +080025obj-$(CONFIG_EFI_TEST) += test/
Lukas Wunner46cd4b72016-11-12 21:32:34 +000026obj-$(CONFIG_EFI_DEV_PATH_PARSER) += dev-path-parser.o
Lukas Wunner58c54752016-11-12 21:32:36 +000027obj-$(CONFIG_APPLE_PROPERTIES) += apple-properties.o
Narendra K1c5fecb2019-07-10 18:59:15 +000028obj-$(CONFIG_EFI_RCI2_TABLE) += rci2-table.o
Ard Biesheuvele5bc22a2015-11-30 13:28:18 +010029
30arm-obj-$(CONFIG_EFI) := arm-init.o arm-runtime.o
Ard Biesheuvelda58fb62015-09-24 13:49:52 -070031obj-$(CONFIG_ARM) += $(arm-obj-y)
Ard Biesheuvele5bc22a2015-11-30 13:28:18 +010032obj-$(CONFIG_ARM64) += $(arm-obj-y)
Kweh, Hock Leong65117f12016-04-25 21:07:01 +010033obj-$(CONFIG_EFI_CAPSULE_LOADER) += capsule-loader.o
Ard Biesheuvel69c1f392019-02-02 10:41:18 +010034obj-$(CONFIG_EFI_EARLYCON) += earlycon.o
Tyler Baicarc6d8c8e2018-01-02 18:10:41 +000035obj-$(CONFIG_UEFI_CPER_ARM) += cper-arm.o
Yazen Ghannamf9e1bdb2018-05-04 07:59:50 +020036obj-$(CONFIG_UEFI_CPER_X86) += cper-x86.o