OVMS3-idf/components/mbedtls/Makefile.projbuild

8 lines
290 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 ("$(TEST_COMPONENTS_LIST)","")
CPPFLAGS += -DMBEDTLS_DEPRECATED_WARNING
endif