xref: /linux/security/integrity/Makefile (revision 79790b6818e96c58fe2bffee1b418c16e64e7b80)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
2f381c272SMimi Zohar#
3f381c272SMimi Zohar# Makefile for caching inode integrity data (iint)
4f381c272SMimi Zohar#
5f381c272SMimi Zohar
6f381c272SMimi Zoharobj-$(CONFIG_INTEGRITY) += integrity.o
7f381c272SMimi Zohar
8f381c272SMimi Zoharintegrity-y := iint.o
9a2d61ed5SDmitry Kasatkinintegrity-$(CONFIG_INTEGRITY_AUDIT) += integrity_audit.o
10a2d61ed5SDmitry Kasatkinintegrity-$(CONFIG_INTEGRITY_SIGNATURE) += digsig.o
11a2d61ed5SDmitry Kasatkinintegrity-$(CONFIG_INTEGRITY_ASYMMETRIC_KEYS) += digsig_asymmetric.o
129641b8ccSMartin Schwidefskyintegrity-$(CONFIG_INTEGRITY_PLATFORM_KEYRING) += platform_certs/platform_keyring.o
13d1996776SEric Snowbergintegrity-$(CONFIG_INTEGRITY_MACHINE_KEYRING) += platform_certs/machine_keyring.o
149641b8ccSMartin Schwidefskyintegrity-$(CONFIG_LOAD_UEFI_KEYS) += platform_certs/efi_parser.o \
15ad723674SNayna Jain				      platform_certs/load_uefi.o \
16ad723674SNayna Jain				      platform_certs/keyring_handler.o
179641b8ccSMartin Schwidefskyintegrity-$(CONFIG_LOAD_IPL_KEYS) += platform_certs/load_ipl_s390.o
188220e22dSNayna Jainintegrity-$(CONFIG_LOAD_PPC_KEYS) += platform_certs/efi_parser.o \
198220e22dSNayna Jain                                     platform_certs/load_powerpc.o \
208220e22dSNayna Jain                                     platform_certs/keyring_handler.o
21*cd3cec0aSRoberto Sassu# The relative order of the 'ima' and 'evm' LSMs depends on the order below.
22e0c2de2bSSam Ravnborgobj-$(CONFIG_IMA)			+= ima/
23e0c2de2bSSam Ravnborgobj-$(CONFIG_EVM)			+= evm/
24