mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
8027adaf81
Otherwise flags get enabled even when building tests for other components.
9 lines
308 B
Makefile
9 lines
308 B
Makefile
# Anyone compiling mbedTLS code needs the name of the
|
|
# alternative config file
|
|
CPPFLAGS += -DMBEDTLS_CONFIG_FILE='"mbedtls/esp_config.h"'
|
|
|
|
# Catch usage of deprecated mbedTLS functions when building tests
|
|
ifneq ("$(filter mbedtls,$(TEST_COMPONENTS_LIST))","")
|
|
CPPFLAGS += -DMBEDTLS_DEPRECATED_WARNING
|
|
endif
|