xref: /rk3399_ARM-atf/drivers/auth/mbedtls/mbedtls_crypto.mk (revision 31a0b877566b0ebac6d11f2f8711cc11c0665e44)
1#
2# Copyright (c) 2015-2023, Arm Limited and Contributors. All rights reserved.
3#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6
7include drivers/auth/mbedtls/mbedtls_common.mk
8
9ifeq (${PSA_CRYPTO},1)
10	# Some of the PSA functions are declared in multiple header files
11	# that triggers this warning.
12	TF_CFLAGS      	+=     	-Wno-error=redundant-decls
13	MBEDTLS_SOURCES +=	drivers/auth/mbedtls/mbedtls_psa_crypto.c
14else
15	MBEDTLS_SOURCES +=	drivers/auth/mbedtls/mbedtls_crypto.c
16endif
17