blob: 0329d319d89a0cd6164c1470e5e73506123d4c5f [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
Bhupesh Sharma75def552017-04-04 17:02:40 +010012obj-$(CONFIG_ACPI_BGRT) += efi-bgrt.o
Ard Biesheuvel10f0d2f52016-04-25 21:06:45 +010013obj-$(CONFIG_EFI) += efi.o vars.o reboot.o memattr.o
Matt Fleming60863c02016-02-29 20:30:39 +000014obj-$(CONFIG_EFI) += capsule.o memmap.o
Tom Gundersena9499fa2013-02-08 15:37:06 +000015obj-$(CONFIG_EFI_VARS) += efivars.o
Peter Jones3846c1582015-06-05 15:14:54 -040016obj-$(CONFIG_EFI_ESRT) += esrt.o
Matt Fleming04851772013-02-08 15:48:51 +000017obj-$(CONFIG_EFI_VARS_PSTORE) += efi-pstore.o
Luck, Tony7ea6c6c2013-10-28 14:06:55 -070018obj-$(CONFIG_UEFI_CPER) += cper.o
Dave Young926172d2013-12-20 18:02:18 +080019obj-$(CONFIG_EFI_RUNTIME_MAP) += runtime-map.o
Ard Biesheuvel022ee6c2014-06-26 12:09:05 +020020obj-$(CONFIG_EFI_RUNTIME_WRAPPERS) += runtime-wrappers.o
Ard Biesheuvel243b6752014-11-05 17:00:56 +010021obj-$(CONFIG_EFI_STUB) += libstub/
Taku Izumi0f96a992015-09-30 23:01:56 +090022obj-$(CONFIG_EFI_FAKE_MEMMAP) += fake_mem.o
Compostella, Jeremy06f7d4a2016-04-25 21:06:57 +010023obj-$(CONFIG_EFI_BOOTLOADER_CONTROL) += efibc.o
Ivan Huff6301d2016-08-25 11:15:31 +080024obj-$(CONFIG_EFI_TEST) += test/
Lukas Wunner46cd4b72016-11-12 21:32:34 +000025obj-$(CONFIG_EFI_DEV_PATH_PARSER) += dev-path-parser.o
Lukas Wunner58c54752016-11-12 21:32:36 +000026obj-$(CONFIG_APPLE_PROPERTIES) += apple-properties.o
Ard Biesheuvele5bc22a2015-11-30 13:28:18 +010027
28arm-obj-$(CONFIG_EFI) := arm-init.o arm-runtime.o
Ard Biesheuvelda58fb62015-09-24 13:49:52 -070029obj-$(CONFIG_ARM) += $(arm-obj-y)
Ard Biesheuvele5bc22a2015-11-30 13:28:18 +010030obj-$(CONFIG_ARM64) += $(arm-obj-y)
Kweh, Hock Leong65117f12016-04-25 21:07:01 +010031obj-$(CONFIG_EFI_CAPSULE_LOADER) += capsule-loader.o