From 95b5c0126b802b894ea0177d973978e06b6a254d Mon Sep 17 00:00:00 2001 From: Manish V Badarkhe Date: Wed, 9 Mar 2022 14:12:34 +0000 Subject: [PATCH] fix(brcm): fix the build failure with mbedTLS config Patch [1] introduces a mechanism to provide the platform specified mbedTLS config file, but that result in build failure for Broadcom platform. This build failure is due to the absence of the mbedTLS configuration file i.e. brcm_mbedtls_config.h in the TF-A source code repository. "fatal error: brcm_mbedtls_config.h: No such file or directory" This problem was resolved by removing the 'brcm_mbedtls_config.h' entry from the broadcom platform makefile, allowing this platform to use the default mbedtls_config.h file. [1]: https://review.trustedfirmware.org/c/TF-A/trusted-firmware-a/+/13726 Signed-off-by: Manish V Badarkhe Change-Id: I7cc2efc049aefd3ebce1ae513df9b265fe31ded6 --- plat/brcm/board/common/board_common.mk | 2 -- 1 file changed, 2 deletions(-) diff --git a/plat/brcm/board/common/board_common.mk b/plat/brcm/board/common/board_common.mk index 3b3e92d06..c0d871199 100644 --- a/plat/brcm/board/common/board_common.mk +++ b/plat/brcm/board/common/board_common.mk @@ -220,8 +220,6 @@ MBEDTLS_CHECK := $(shell find ${MBEDTLS_DIR}/include -name '${MBEDTLS_DIR}') ifneq (${MBEDTLS_CHECK},) $(info Found mbedTLS at ${MBEDTLS_DIR}) PLAT_INCLUDES += -I${MBEDTLS_DIR}/include/mbedtls -# Specify mbedTLS configuration file -MBEDTLS_CONFIG_FILE := "" # By default, use RSA keys KEY_ALG := rsa_1_5