xref: /linux/drivers/s390/crypto/Makefile (revision a0efa2f362a69e47b9d8b48f770ef3a0249a7911)
1# SPDX-License-Identifier: GPL-2.0
2#
3# S/390 crypto devices
4#
5
6ap-objs := ap_bus.o ap_card.o ap_queue.o
7obj-$(CONFIG_AP) += ap.o
8# zcrypt_api.o and zcrypt_msgtype*.o depend on ap.o
9zcrypt-objs := zcrypt_api.o zcrypt_card.o zcrypt_queue.o
10zcrypt-objs += zcrypt_msgtype6.o zcrypt_msgtype50.o
11zcrypt-objs += zcrypt_ccamisc.o zcrypt_ep11misc.o
12obj-$(CONFIG_ZCRYPT) += zcrypt.o
13# adapter drivers depend on ap.o and zcrypt.o
14obj-$(CONFIG_ZCRYPT) += zcrypt_cex4.o
15
16# pkey base and api module
17pkey-objs := pkey_base.o pkey_api.o pkey_sysfs.o
18obj-$(CONFIG_PKEY) += pkey.o
19
20# pkey cca handler module
21pkey-cca-objs := pkey_cca.o
22obj-$(CONFIG_PKEY_CCA) += pkey-cca.o
23
24# pkey ep11 handler module
25pkey-ep11-objs := pkey_ep11.o
26obj-$(CONFIG_PKEY_EP11) += pkey-ep11.o
27
28# pkey pckmo handler module
29pkey-pckmo-objs := pkey_pckmo.o
30obj-$(CONFIG_PKEY_PCKMO) += pkey-pckmo.o
31
32# adjunct processor matrix
33vfio_ap-objs := vfio_ap_drv.o vfio_ap_ops.o
34obj-$(CONFIG_VFIO_AP) += vfio_ap.o
35