blob: bd367300b3e35aa59a4d90f064a199d6bf344bdc [file] [log] [blame]
Juan Castilloa57a4d52015-04-02 15:44:20 +01001#
Manish V Badarkhe8fbea622023-09-06 10:22:19 +01002# Copyright (c) 2015-2023, Arm Limited and Contributors. All rights reserved.
Juan Castilloa57a4d52015-04-02 15:44:20 +01003#
dp-armfa3cf0b2017-05-03 09:38:09 +01004# SPDX-License-Identifier: BSD-3-Clause
Juan Castilloa57a4d52015-04-02 15:44:20 +01005#
6
7include drivers/auth/mbedtls/mbedtls_common.mk
8
Manish V Badarkhe8fbea622023-09-06 10:22:19 +01009ifeq (${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