xref: /rk3399_ARM-atf/drivers/auth/mbedtls/mbedtls_crypto.mk (revision 38f893692ad9b8edb5413f4b2b9cd15a9b485685)
17d37aa17SJuan Castillo#
2*38f89369SManish V Badarkhe# Copyright (c) 2015-2023, Arm Limited and Contributors. All rights reserved.
37d37aa17SJuan Castillo#
482cb2c1aSdp-arm# SPDX-License-Identifier: BSD-3-Clause
57d37aa17SJuan Castillo#
67d37aa17SJuan Castillo
77d37aa17SJuan Castilloinclude drivers/auth/mbedtls/mbedtls_common.mk
87d37aa17SJuan Castillo
9*38f89369SManish V Badarkheifeq (${PSA_CRYPTO},1)
10*38f89369SManish V Badarkhe	# Some of the PSA functions are declared in multiple header files
11*38f89369SManish V Badarkhe	# that triggers this warning.
12*38f89369SManish V Badarkhe	TF_CFLAGS      	+=     	-Wno-error=redundant-decls
13*38f89369SManish V Badarkhe	MBEDTLS_SOURCES +=	drivers/auth/mbedtls/mbedtls_psa_crypto.c
14*38f89369SManish V Badarkheelse
15180c4bc2SRoberto Vargas	MBEDTLS_SOURCES +=	drivers/auth/mbedtls/mbedtls_crypto.c
16*38f89369SManish V Badarkheendif
17