xref: /linux/drivers/s390/crypto/Makefile (revision 3fd6c59042dbba50391e30862beac979491145fe)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
21da177e4SLinus Torvalds#
31da177e4SLinus Torvalds# S/390 crypto devices
41da177e4SLinus Torvalds#
51da177e4SLinus Torvalds
6e28d2af4SIngo Tuchschererap-objs := ap_bus.o ap_card.o ap_queue.o
712376084SHolger Denglerobj-$(CONFIG_AP) += ap.o
8fc1d3f02SIngo Tuchscherer# zcrypt_api.o and zcrypt_msgtype*.o depend on ap.o
9e28d2af4SIngo Tuchschererzcrypt-objs := zcrypt_api.o zcrypt_card.o zcrypt_queue.o
107384eb72SHarald Freudenbergerzcrypt-objs += zcrypt_msgtype6.o zcrypt_msgtype50.o
117384eb72SHarald Freudenbergerzcrypt-objs += zcrypt_ccamisc.o zcrypt_ep11misc.o
12fc1d3f02SIngo Tuchschererobj-$(CONFIG_ZCRYPT) += zcrypt.o
13fc1d3f02SIngo Tuchscherer# adapter drivers depend on ap.o and zcrypt.o
145ac8c724SHarald Freudenbergerobj-$(CONFIG_ZCRYPT) += zcrypt_cex4.o
15e80d4af0SHarald Freudenberger
16*8fcc231cSHarald Freudenberger# pkey base and api module
17*8fcc231cSHarald Freudenbergerpkey-objs := pkey_base.o pkey_api.o pkey_sysfs.o
18e80d4af0SHarald Freudenbergerobj-$(CONFIG_PKEY) += pkey.o
191fde5734STony Krowiak
20*8fcc231cSHarald Freudenberger# pkey cca handler module
21*8fcc231cSHarald Freudenbergerpkey-cca-objs := pkey_cca.o
22*8fcc231cSHarald Freudenbergerobj-$(CONFIG_PKEY_CCA) += pkey-cca.o
23*8fcc231cSHarald Freudenberger
24*8fcc231cSHarald Freudenberger# pkey ep11 handler module
25*8fcc231cSHarald Freudenbergerpkey-ep11-objs := pkey_ep11.o
26*8fcc231cSHarald Freudenbergerobj-$(CONFIG_PKEY_EP11) += pkey-ep11.o
27*8fcc231cSHarald Freudenberger
28*8fcc231cSHarald Freudenberger# pkey pckmo handler module
29*8fcc231cSHarald Freudenbergerpkey-pckmo-objs := pkey_pckmo.o
30*8fcc231cSHarald Freudenbergerobj-$(CONFIG_PKEY_PCKMO) += pkey-pckmo.o
31*8fcc231cSHarald Freudenberger
321fde5734STony Krowiak# pkey uv handler module
3365f06713STony Krowiakpkey-uv-objs := pkey_uv.o
341fde5734STony Krowiakobj-$(CONFIG_PKEY_UV) += pkey-uv.o
35
36# adjunct processor matrix
37vfio_ap-objs := vfio_ap_drv.o vfio_ap_ops.o
38obj-$(CONFIG_VFIO_AP) += vfio_ap.o
39