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