1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0 28e8ec596SKim Phillips# 38e8ec596SKim Phillips# Makefile for the CAAM backend and dependent components 48e8ec596SKim Phillips# 5d4d8edf8SAlex Porosanuifeq ($(CONFIG_CRYPTO_DEV_FSL_CAAM_DEBUG), y) 66999d504STudor Ambarus ccflags-y := -DDEBUG 7d4d8edf8SAlex Porosanuendif 88e8ec596SKim Phillips 9*8d818c10SHoria Geantăccflags-y += -DVERSION=\"\" 10*8d818c10SHoria Geantă 11*8d818c10SHoria Geantăobj-$(CONFIG_CRYPTO_DEV_FSL_CAAM_COMMON) += error.o 128e8ec596SKim Phillipsobj-$(CONFIG_CRYPTO_DEV_FSL_CAAM) += caam.o 13313ea293SRuchika Guptaobj-$(CONFIG_CRYPTO_DEV_FSL_CAAM_JR) += caam_jr.o 148e8ec596SKim Phillipsobj-$(CONFIG_CRYPTO_DEV_FSL_CAAM_CRYPTO_API) += caamalg.o 15b189817cSHoria Geantăobj-$(CONFIG_CRYPTO_DEV_FSL_CAAM_CRYPTO_API_QI) += caamalg_qi.o 168cea7b66SHoria Geantăobj-$(CONFIG_CRYPTO_DEV_FSL_CAAM_CRYPTO_API_DESC) += caamalg_desc.o 17045e3678SYuan Kangobj-$(CONFIG_CRYPTO_DEV_FSL_CAAM_AHASH_API) += caamhash.o 18e24f7c9eSYuan Kangobj-$(CONFIG_CRYPTO_DEV_FSL_CAAM_RNG_API) += caamrng.o 198c419778STudor Ambarusobj-$(CONFIG_CRYPTO_DEV_FSL_CAAM_PKC_API) += caam_pkc.o 208e8ec596SKim Phillips 21313ea293SRuchika Guptacaam-objs := ctrl.o 22*8d818c10SHoria Geantăcaam_jr-objs := jr.o key_gen.o 238c419778STudor Ambaruscaam_pkc-y := caampkc.o pkc_desc.o 2467c2315dSHoria Geantăifneq ($(CONFIG_CRYPTO_DEV_FSL_CAAM_CRYPTO_API_QI),) 2567c2315dSHoria Geantă ccflags-y += -DCONFIG_CAAM_QI 2667c2315dSHoria Geantă caam-objs += qi.o 2767c2315dSHoria Geantăendif 28*8d818c10SHoria Geantă 29*8d818c10SHoria Geantăobj-$(CONFIG_CRYPTO_DEV_FSL_DPAA2_CAAM) += dpaa2_caam.o 30*8d818c10SHoria Geantă 31*8d818c10SHoria Geantădpaa2_caam-y := caamalg_qi2.o dpseci.o 32