Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Kim Phillips | 8e8ec59 | 2011-03-13 16:54:26 +0800 | [diff] [blame] | 2 | # |
| 3 | # Makefile for the CAAM backend and dependent components |
| 4 | # |
Alex Porosanu | d4d8edf | 2013-08-14 18:56:46 +0300 | [diff] [blame] | 5 | ifeq ($(CONFIG_CRYPTO_DEV_FSL_CAAM_DEBUG), y) |
Tudor Ambarus | 6999d50 | 2016-06-16 16:32:55 +0300 | [diff] [blame] | 6 | ccflags-y := -DDEBUG |
Alex Porosanu | d4d8edf | 2013-08-14 18:56:46 +0300 | [diff] [blame] | 7 | endif |
Kim Phillips | 8e8ec59 | 2011-03-13 16:54:26 +0800 | [diff] [blame] | 8 | |
| 9 | obj-$(CONFIG_CRYPTO_DEV_FSL_CAAM) += caam.o |
Ruchika Gupta | 313ea29 | 2013-10-25 12:01:01 +0530 | [diff] [blame] | 10 | obj-$(CONFIG_CRYPTO_DEV_FSL_CAAM_JR) += caam_jr.o |
Kim Phillips | 8e8ec59 | 2011-03-13 16:54:26 +0800 | [diff] [blame] | 11 | obj-$(CONFIG_CRYPTO_DEV_FSL_CAAM_CRYPTO_API) += caamalg.o |
Horia Geantă | b189817 | 2017-03-17 12:06:02 +0200 | [diff] [blame] | 12 | obj-$(CONFIG_CRYPTO_DEV_FSL_CAAM_CRYPTO_API_QI) += caamalg_qi.o |
Horia Geantă | 8cea7b6 | 2016-11-22 15:44:09 +0200 | [diff] [blame] | 13 | obj-$(CONFIG_CRYPTO_DEV_FSL_CAAM_CRYPTO_API_DESC) += caamalg_desc.o |
Yuan Kang | 045e367 | 2012-06-22 19:48:47 -0500 | [diff] [blame] | 14 | obj-$(CONFIG_CRYPTO_DEV_FSL_CAAM_AHASH_API) += caamhash.o |
Yuan Kang | e24f7c9 | 2012-06-22 19:48:50 -0500 | [diff] [blame] | 15 | obj-$(CONFIG_CRYPTO_DEV_FSL_CAAM_RNG_API) += caamrng.o |
Tudor Ambarus | 8c41977 | 2016-07-04 13:12:08 +0300 | [diff] [blame] | 16 | obj-$(CONFIG_CRYPTO_DEV_FSL_CAAM_PKC_API) += caam_pkc.o |
Kim Phillips | 8e8ec59 | 2011-03-13 16:54:26 +0800 | [diff] [blame] | 17 | |
Ruchika Gupta | 313ea29 | 2013-10-25 12:01:01 +0530 | [diff] [blame] | 18 | caam-objs := ctrl.o |
| 19 | caam_jr-objs := jr.o key_gen.o error.o |
Tudor Ambarus | 8c41977 | 2016-07-04 13:12:08 +0300 | [diff] [blame] | 20 | caam_pkc-y := caampkc.o pkc_desc.o |
Horia Geantă | 67c2315d | 2017-03-17 12:06:01 +0200 | [diff] [blame] | 21 | ifneq ($(CONFIG_CRYPTO_DEV_FSL_CAAM_CRYPTO_API_QI),) |
| 22 | ccflags-y += -DCONFIG_CAAM_QI |
| 23 | caam-objs += qi.o |
| 24 | endif |