1# Anyone compiling mbedTLS code needs the name of the
2# alternative config file
3CPPFLAGS += -DMBEDTLS_CONFIG_FILE='"mbedtls/esp_config.h"'
4
5# Catch usage of deprecated mbedTLS functions when building tests
6ifneq ("$(filter mbedtls,$(TEST_COMPONENTS_LIST))","")
7CPPFLAGS += -DMBEDTLS_DEPRECATED_WARNING
8endif
9