Files
ESP8266_RTOS_SDK/components/mbedtls/mbedtls_v2/Makefile.projbuild
2025-04-18 14:11:50 +08:00

9 lines
335 B
Makefile

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