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 98d818c10SHoria Geantăccflags-y += -DVERSION=\"\" 108d818c10SHoria Geantă 118d818c10SHoria 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 18*0efa7579SHoria Geantăobj-$(CONFIG_CRYPTO_DEV_FSL_CAAM_AHASH_API_DESC) += caamhash_desc.o 19e24f7c9eSYuan Kangobj-$(CONFIG_CRYPTO_DEV_FSL_CAAM_RNG_API) += caamrng.o 208c419778STudor Ambarusobj-$(CONFIG_CRYPTO_DEV_FSL_CAAM_PKC_API) += caam_pkc.o 218e8ec596SKim Phillips 22313ea293SRuchika Guptacaam-objs := ctrl.o 238d818c10SHoria Geantăcaam_jr-objs := jr.o key_gen.o 248c419778STudor Ambaruscaam_pkc-y := caampkc.o pkc_desc.o 2567c2315dSHoria Geantăifneq ($(CONFIG_CRYPTO_DEV_FSL_CAAM_CRYPTO_API_QI),) 2667c2315dSHoria Geantă ccflags-y += -DCONFIG_CAAM_QI 2767c2315dSHoria Geantă caam-objs += qi.o 2867c2315dSHoria Geantăendif 298d818c10SHoria Geantă 308d818c10SHoria Geantăobj-$(CONFIG_CRYPTO_DEV_FSL_DPAA2_CAAM) += dpaa2_caam.o 318d818c10SHoria Geantă 328d818c10SHoria Geantădpaa2_caam-y := caamalg_qi2.o dpseci.o 33