Juan Castillo | a57a4d5 | 2015-04-02 15:44:20 +0100 | [diff] [blame] | 1 | # |
Manish V Badarkhe | 8fbea62 | 2023-09-06 10:22:19 +0100 | [diff] [blame] | 2 | # Copyright (c) 2015-2023, Arm Limited and Contributors. All rights reserved. |
Juan Castillo | a57a4d5 | 2015-04-02 15:44:20 +0100 | [diff] [blame] | 3 | # |
dp-arm | fa3cf0b | 2017-05-03 09:38:09 +0100 | [diff] [blame] | 4 | # SPDX-License-Identifier: BSD-3-Clause |
Juan Castillo | a57a4d5 | 2015-04-02 15:44:20 +0100 | [diff] [blame] | 5 | # |
| 6 | |
| 7 | include drivers/auth/mbedtls/mbedtls_common.mk |
| 8 | |
Manish V Badarkhe | 8fbea62 | 2023-09-06 10:22:19 +0100 | [diff] [blame] | 9 | ifeq (${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 |
| 14 | else |
| 15 | MBEDTLS_SOURCES += drivers/auth/mbedtls/mbedtls_crypto.c |
| 16 | endif |