xref: /openbmc/linux/drivers/s390/crypto/Makefile (revision 7c768f84)
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_pcixcc.o zcrypt_cex2a.o zcrypt_cex4.o
14
15# pkey kernel module
16pkey-objs := pkey_api.o
17obj-$(CONFIG_PKEY) += pkey.o
18