drivers/auth/mbedtls/mbedtls_crypto.mk
raw| 1 | # |
| 2 | # Copyright (c) 2015-2023, Arm Limited and Contributors. All rights reserved. |
| 3 | # |
| 4 | # SPDX-License-Identifier: BSD-3-Clause |
| 5 | # |
| 6 | |
| 7 | include drivers/auth/mbedtls/mbedtls_common.mk |
| 8 | |
| 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 |