xref: /openbmc/linux/drivers/s390/crypto/Makefile (revision 6db6b729)
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-$(subst m,y,$(CONFIG_ZCRYPT)) += 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 kernel module
17pkey-objs := pkey_api.o
18obj-$(CONFIG_PKEY) += pkey.o
19
20# adjunct processor matrix
21vfio_ap-objs := vfio_ap_drv.o vfio_ap_ops.o
22obj-$(CONFIG_VFIO_AP) += vfio_ap.o
23