blob: cb652ee7dfc81e5f2b55bb2bcce4651d485a5808 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Kim Phillips8e8ec592011-03-13 16:54:26 +08002#
3# Makefile for the CAAM backend and dependent components
4#
Alex Porosanud4d8edf2013-08-14 18:56:46 +03005ifeq ($(CONFIG_CRYPTO_DEV_FSL_CAAM_DEBUG), y)
Tudor Ambarus6999d502016-06-16 16:32:55 +03006 ccflags-y := -DDEBUG
Alex Porosanud4d8edf2013-08-14 18:56:46 +03007endif
Kim Phillips8e8ec592011-03-13 16:54:26 +08008
9obj-$(CONFIG_CRYPTO_DEV_FSL_CAAM) += caam.o
Ruchika Gupta313ea292013-10-25 12:01:01 +053010obj-$(CONFIG_CRYPTO_DEV_FSL_CAAM_JR) += caam_jr.o
Kim Phillips8e8ec592011-03-13 16:54:26 +080011obj-$(CONFIG_CRYPTO_DEV_FSL_CAAM_CRYPTO_API) += caamalg.o
Horia Geantăb1898172017-03-17 12:06:02 +020012obj-$(CONFIG_CRYPTO_DEV_FSL_CAAM_CRYPTO_API_QI) += caamalg_qi.o
Horia Geantă8cea7b62016-11-22 15:44:09 +020013obj-$(CONFIG_CRYPTO_DEV_FSL_CAAM_CRYPTO_API_DESC) += caamalg_desc.o
Yuan Kang045e3672012-06-22 19:48:47 -050014obj-$(CONFIG_CRYPTO_DEV_FSL_CAAM_AHASH_API) += caamhash.o
Yuan Kange24f7c92012-06-22 19:48:50 -050015obj-$(CONFIG_CRYPTO_DEV_FSL_CAAM_RNG_API) += caamrng.o
Tudor Ambarus8c419772016-07-04 13:12:08 +030016obj-$(CONFIG_CRYPTO_DEV_FSL_CAAM_PKC_API) += caam_pkc.o
Kim Phillips8e8ec592011-03-13 16:54:26 +080017
Ruchika Gupta313ea292013-10-25 12:01:01 +053018caam-objs := ctrl.o
19caam_jr-objs := jr.o key_gen.o error.o
Tudor Ambarus8c419772016-07-04 13:12:08 +030020caam_pkc-y := caampkc.o pkc_desc.o
Horia Geantă67c2315d2017-03-17 12:06:01 +020021ifneq ($(CONFIG_CRYPTO_DEV_FSL_CAAM_CRYPTO_API_QI),)
22 ccflags-y += -DCONFIG_CAAM_QI
23 caam-objs += qi.o
24endif