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 148cea7b66SHoria Geantăobj-$(CONFIG_CRYPTO_DEV_FSL_CAAM_CRYPTO_API_DESC) += caamalg_desc.o 150efa7579SHoria Geantăobj-$(CONFIG_CRYPTO_DEV_FSL_CAAM_AHASH_API_DESC) += caamhash_desc.o 168e8ec596SKim Phillips 171b46c90cSHoria Geantăcaam-y := ctrl.o 181b46c90cSHoria Geantăcaam_jr-y := jr.o key_gen.o 191b46c90cSHoria Geantăcaam_jr-$(CONFIG_CRYPTO_DEV_FSL_CAAM_CRYPTO_API) += caamalg.o 201b46c90cSHoria Geantăcaam_jr-$(CONFIG_CRYPTO_DEV_FSL_CAAM_CRYPTO_API_QI) += caamalg_qi.o 211b46c90cSHoria Geantăcaam_jr-$(CONFIG_CRYPTO_DEV_FSL_CAAM_AHASH_API) += caamhash.o 221b46c90cSHoria Geantăcaam_jr-$(CONFIG_CRYPTO_DEV_FSL_CAAM_RNG_API) += caamrng.o 230aa6ac77SMeenakshi Aggarwalcaam_jr-$(CONFIG_CRYPTO_DEV_FSL_CAAM_PRNG_API) += caamprng.o 241b46c90cSHoria Geantăcaam_jr-$(CONFIG_CRYPTO_DEV_FSL_CAAM_PKC_API) += caampkc.o pkc_desc.o 25*007c3ff1SAhmad Fatoumcaam_jr-$(CONFIG_CRYPTO_DEV_FSL_CAAM_BLOB_GEN) += blob_gen.o 261b46c90cSHoria Geantă 271b46c90cSHoria Geantăcaam-$(CONFIG_CRYPTO_DEV_FSL_CAAM_CRYPTO_API_QI) += qi.o 2867c2315dSHoria Geantăifneq ($(CONFIG_CRYPTO_DEV_FSL_CAAM_CRYPTO_API_QI),) 2967c2315dSHoria Geantă ccflags-y += -DCONFIG_CAAM_QI 3067c2315dSHoria Geantăendif 318d818c10SHoria Geantă 32abd98754SHoria Geantăcaam-$(CONFIG_DEBUG_FS) += debugfs.o 33abd98754SHoria Geantă 348d818c10SHoria Geantăobj-$(CONFIG_CRYPTO_DEV_FSL_DPAA2_CAAM) += dpaa2_caam.o 358d818c10SHoria Geantă 368d818c10SHoria Geantădpaa2_caam-y := caamalg_qi2.o dpseci.o 371c0ab408SVakul Gargdpaa2_caam-$(CONFIG_DEBUG_FS) += dpseci-debugfs.o 38