Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Matt Fleming | 0485177 | 2013-02-08 15:48:51 +0000 | [diff] [blame] | 2 | # |
| 3 | # Makefile for linux kernel |
| 4 | # |
Andrey Ryabinin | 39d114d | 2015-10-12 18:52:58 +0300 | [diff] [blame] | 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 | # |
| 11 | KASAN_SANITIZE_runtime-wrappers.o := n |
| 12 | |
Bhupesh Sharma | 75def55 | 2017-04-04 17:02:40 +0100 | [diff] [blame] | 13 | obj-$(CONFIG_ACPI_BGRT) += efi-bgrt.o |
Thiebaud Weksteen | 33b6d03 | 2017-09-20 10:13:39 +0200 | [diff] [blame] | 14 | obj-$(CONFIG_EFI) += efi.o vars.o reboot.o memattr.o tpm.o |
Matt Fleming | 60863c0 | 2016-02-29 20:30:39 +0000 | [diff] [blame] | 15 | obj-$(CONFIG_EFI) += capsule.o memmap.o |
Ard Biesheuvel | ac5abc7 | 2020-02-18 09:54:05 +0100 | [diff] [blame] | 16 | obj-$(CONFIG_EFI_PARAMS_FROM_FDT) += fdtparams.o |
Tom Gundersen | a9499fa | 2013-02-08 15:37:06 +0000 | [diff] [blame] | 17 | obj-$(CONFIG_EFI_VARS) += efivars.o |
Peter Jones | 3846c15 | 2015-06-05 15:14:54 -0400 | [diff] [blame] | 18 | obj-$(CONFIG_EFI_ESRT) += esrt.o |
Matt Fleming | 0485177 | 2013-02-08 15:48:51 +0000 | [diff] [blame] | 19 | obj-$(CONFIG_EFI_VARS_PSTORE) += efi-pstore.o |
Luck, Tony | 7ea6c6c | 2013-10-28 14:06:55 -0700 | [diff] [blame] | 20 | obj-$(CONFIG_UEFI_CPER) += cper.o |
Dave Young | 926172d | 2013-12-20 18:02:18 +0800 | [diff] [blame] | 21 | obj-$(CONFIG_EFI_RUNTIME_MAP) += runtime-map.o |
Ard Biesheuvel | 022ee6c | 2014-06-26 12:09:05 +0200 | [diff] [blame] | 22 | obj-$(CONFIG_EFI_RUNTIME_WRAPPERS) += runtime-wrappers.o |
Masahiro Yamada | 2fb2c17 | 2020-03-08 09:08:53 +0100 | [diff] [blame] | 23 | subdir-$(CONFIG_EFI_STUB) += libstub |
Dan Williams | 199c847 | 2019-11-06 17:43:26 -0800 | [diff] [blame] | 24 | obj-$(CONFIG_EFI_FAKE_MEMMAP) += fake_map.o |
Compostella, Jeremy | 06f7d4a | 2016-04-25 21:06:57 +0100 | [diff] [blame] | 25 | obj-$(CONFIG_EFI_BOOTLOADER_CONTROL) += efibc.o |
Ivan Hu | ff6301d | 2016-08-25 11:15:31 +0800 | [diff] [blame] | 26 | obj-$(CONFIG_EFI_TEST) += test/ |
Lukas Wunner | 46cd4b7 | 2016-11-12 21:32:34 +0000 | [diff] [blame] | 27 | obj-$(CONFIG_EFI_DEV_PATH_PARSER) += dev-path-parser.o |
Lukas Wunner | 58c5475 | 2016-11-12 21:32:36 +0000 | [diff] [blame] | 28 | obj-$(CONFIG_APPLE_PROPERTIES) += apple-properties.o |
Narendra K | 1c5fecb | 2019-07-10 18:59:15 +0000 | [diff] [blame] | 29 | obj-$(CONFIG_EFI_RCI2_TABLE) += rci2-table.o |
Hans de Goede | f0df68d | 2020-01-15 17:35:46 +0100 | [diff] [blame] | 30 | obj-$(CONFIG_EFI_EMBEDDED_FIRMWARE) += embedded-firmware.o |
Ard Biesheuvel | e5bc22a | 2015-11-30 13:28:18 +0100 | [diff] [blame] | 31 | |
Dan Williams | 199c847 | 2019-11-06 17:43:26 -0800 | [diff] [blame] | 32 | fake_map-y += fake_mem.o |
| 33 | fake_map-$(CONFIG_X86) += x86_fake_mem.o |
| 34 | |
Atish Patra | f30f242 | 2020-08-19 15:24:23 -0700 | [diff] [blame^] | 35 | arm-obj-$(CONFIG_EFI) := efi-init.o arm-runtime.o |
Ard Biesheuvel | da58fb6 | 2015-09-24 13:49:52 -0700 | [diff] [blame] | 36 | obj-$(CONFIG_ARM) += $(arm-obj-y) |
Ard Biesheuvel | e5bc22a | 2015-11-30 13:28:18 +0100 | [diff] [blame] | 37 | obj-$(CONFIG_ARM64) += $(arm-obj-y) |
Kweh, Hock Leong | 65117f1 | 2016-04-25 21:07:01 +0100 | [diff] [blame] | 38 | obj-$(CONFIG_EFI_CAPSULE_LOADER) += capsule-loader.o |
Ard Biesheuvel | 69c1f39 | 2019-02-02 10:41:18 +0100 | [diff] [blame] | 39 | obj-$(CONFIG_EFI_EARLYCON) += earlycon.o |
Tyler Baicar | c6d8c8e | 2018-01-02 18:10:41 +0000 | [diff] [blame] | 40 | obj-$(CONFIG_UEFI_CPER_ARM) += cper-arm.o |
Yazen Ghannam | f9e1bdb | 2018-05-04 07:59:50 +0200 | [diff] [blame] | 41 | obj-$(CONFIG_UEFI_CPER_X86) += cper-x86.o |