blob: 61fd1e8b26fb736734da76810e3a145e61af73ff [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
Ard Biesheuvelac5abc72020-02-18 09:54:05 +010016obj-$(CONFIG_EFI_PARAMS_FROM_FDT) += fdtparams.o
Tom Gundersena9499fa2013-02-08 15:37:06 +000017obj-$(CONFIG_EFI_VARS) += efivars.o
Peter Jones3846c152015-06-05 15:14:54 -040018obj-$(CONFIG_EFI_ESRT) += esrt.o
Matt Fleming04851772013-02-08 15:48:51 +000019obj-$(CONFIG_EFI_VARS_PSTORE) += efi-pstore.o
Luck, Tony7ea6c6c2013-10-28 14:06:55 -070020obj-$(CONFIG_UEFI_CPER) += cper.o
Dave Young926172d2013-12-20 18:02:18 +080021obj-$(CONFIG_EFI_RUNTIME_MAP) += runtime-map.o
Ard Biesheuvel022ee6c2014-06-26 12:09:05 +020022obj-$(CONFIG_EFI_RUNTIME_WRAPPERS) += runtime-wrappers.o
Masahiro Yamada2fb2c172020-03-08 09:08:53 +010023subdir-$(CONFIG_EFI_STUB) += libstub
Dan Williams199c8472019-11-06 17:43:26 -080024obj-$(CONFIG_EFI_FAKE_MEMMAP) += fake_map.o
Compostella, Jeremy06f7d4a2016-04-25 21:06:57 +010025obj-$(CONFIG_EFI_BOOTLOADER_CONTROL) += efibc.o
Ivan Huff6301d2016-08-25 11:15:31 +080026obj-$(CONFIG_EFI_TEST) += test/
Lukas Wunner46cd4b72016-11-12 21:32:34 +000027obj-$(CONFIG_EFI_DEV_PATH_PARSER) += dev-path-parser.o
Lukas Wunner58c54752016-11-12 21:32:36 +000028obj-$(CONFIG_APPLE_PROPERTIES) += apple-properties.o
Narendra K1c5fecb2019-07-10 18:59:15 +000029obj-$(CONFIG_EFI_RCI2_TABLE) += rci2-table.o
Hans de Goedef0df68d2020-01-15 17:35:46 +010030obj-$(CONFIG_EFI_EMBEDDED_FIRMWARE) += embedded-firmware.o
Ard Biesheuvele5bc22a2015-11-30 13:28:18 +010031
Dan Williams199c8472019-11-06 17:43:26 -080032fake_map-y += fake_mem.o
33fake_map-$(CONFIG_X86) += x86_fake_mem.o
34
Atish Patraf30f2422020-08-19 15:24:23 -070035arm-obj-$(CONFIG_EFI) := efi-init.o arm-runtime.o
Ard Biesheuvelda58fb62015-09-24 13:49:52 -070036obj-$(CONFIG_ARM) += $(arm-obj-y)
Ard Biesheuvele5bc22a2015-11-30 13:28:18 +010037obj-$(CONFIG_ARM64) += $(arm-obj-y)
Kweh, Hock Leong65117f12016-04-25 21:07:01 +010038obj-$(CONFIG_EFI_CAPSULE_LOADER) += capsule-loader.o
Ard Biesheuvel69c1f392019-02-02 10:41:18 +010039obj-$(CONFIG_EFI_EARLYCON) += earlycon.o
Tyler Baicarc6d8c8e2018-01-02 18:10:41 +000040obj-$(CONFIG_UEFI_CPER_ARM) += cper-arm.o
Yazen Ghannamf9e1bdb2018-05-04 07:59:50 +020041obj-$(CONFIG_UEFI_CPER_X86) += cper-x86.o