stm32/Makefile: Allow overriding the default MBEDTLS_CONFIG_FILE.
This commit is contained in:
parent
efe7dac0aa
commit
d2c2846820
|
@ -474,7 +474,8 @@ USBDEV_SRC_C += $(addprefix $(USBDEV_DIR)/,\
|
|||
)
|
||||
|
||||
ifeq ($(MICROPY_SSL_MBEDTLS),1)
|
||||
CFLAGS += -DMBEDTLS_CONFIG_FILE='"mbedtls/mbedtls_config.h"'
|
||||
MBEDTLS_CONFIG_FILE ?= '"mbedtls/mbedtls_config.h"'
|
||||
CFLAGS += -DMBEDTLS_CONFIG_FILE=$(MBEDTLS_CONFIG_FILE)
|
||||
LIB_SRC_C += mbedtls/mbedtls_port.c
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue