2016-09-09 00:14:38 +00:00
|
|
|
# Anyone compiling mbedTLS code needs the name of the
|
|
|
|
# alternative config file
|
2017-10-26 11:04:41 +00:00
|
|
|
CPPFLAGS += -DMBEDTLS_CONFIG_FILE='"mbedtls/esp_config.h"'
|
2016-09-09 00:14:38 +00:00
|
|
|
|
2018-05-08 15:51:23 +00:00
|
|
|
# Catch usage of deprecated mbedTLS functions when building tests
|
2018-11-19 16:49:38 +00:00
|
|
|
ifneq ("$(filter mbedtls,$(TEST_COMPONENTS_LIST))","")
|
2018-05-08 15:51:23 +00:00
|
|
|
CPPFLAGS += -DMBEDTLS_DEPRECATED_WARNING
|
|
|
|
endif
|