Merge "fix(brcm): allow build to specify mbedTLS absolute path" into integration

This commit is contained in:
Joanna Farley 2022-03-11 10:31:16 +01:00 committed by TrustedFirmware Code Review
commit 7d00e72a39
1 changed files with 2 additions and 2 deletions

View File

@ -214,8 +214,8 @@ endif
endif
# Include mbedtls if it can be located
MBEDTLS_DIR := mbedtls
MBEDTLS_CHECK := $(shell find ${MBEDTLS_DIR}/include -name '${MBEDTLS_DIR}')
MBEDTLS_DIR ?= mbedtls
MBEDTLS_CHECK := $(shell find ${MBEDTLS_DIR}/include -name '$(notdir ${MBEDTLS_DIR})')
ifneq (${MBEDTLS_CHECK},)
$(info Found mbedTLS at ${MBEDTLS_DIR})