xref: /openbmc/linux/drivers/s390/crypto/Makefile (revision e3d786a3)
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
11obj-$(CONFIG_ZCRYPT) += zcrypt.o
12# adapter drivers depend on ap.o and zcrypt.o
13obj-$(CONFIG_ZCRYPT) += zcrypt_cex2c.o zcrypt_cex2a.o zcrypt_cex4.o
14
15# pkey kernel module
16pkey-objs := pkey_api.o
17obj-$(CONFIG_PKEY) += pkey.o
18
19# adjunct processor matrix
20vfio_ap-objs := vfio_ap_drv.o vfio_ap_ops.o
21obj-$(CONFIG_VFIO_AP) += vfio_ap.o
22