xref: /linux/security/keys/trusted-keys/Makefile (revision be07858fbf8115fc74528292c2ee8775fe49116f)
147f9c279SSumit Garg# SPDX-License-Identifier: GPL-2.0
247f9c279SSumit Garg#
347f9c279SSumit Garg# Makefile for trusted keys
447f9c279SSumit Garg#
547f9c279SSumit Garg
647f9c279SSumit Gargobj-$(CONFIG_TRUSTED_KEYS) += trusted.o
75d0682beSSumit Gargtrusted-y += trusted_core.o
8*be07858fSAhmad Fatoumtrusted-$(CONFIG_TRUSTED_KEYS_TPM) += trusted_tpm1.o
9f2219745SJames Bottomley
10f2219745SJames Bottomley$(obj)/trusted_tpm2.o: $(obj)/tpm2key.asn1.h
11*be07858fSAhmad Fatoumtrusted-$(CONFIG_TRUSTED_KEYS_TPM) += trusted_tpm2.o
12*be07858fSAhmad Fatoumtrusted-$(CONFIG_TRUSTED_KEYS_TPM) += tpm2key.asn1.o
130a95ebc9SSumit Garg
14*be07858fSAhmad Fatoumtrusted-$(CONFIG_TRUSTED_KEYS_TEE) += trusted_tee.o
15