diff options
| author | iabdalkader <i.abdalkader@gmail.com> | 2022-11-08 09:02:05 +0100 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2022-11-08 23:43:43 +1100 |
| commit | d2c284682065feb857a6e7b0921ede686d0b8a98 (patch) | |
| tree | 5fa2d7ac86aa9935e099f8e78eba969e3bcc95d7 | |
| parent | efe7dac0aaf98018d8725df873024a0f9ab91c10 (diff) | |
stm32/Makefile: Allow overriding the default MBEDTLS_CONFIG_FILE.
| -rw-r--r-- | ports/stm32/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ports/stm32/Makefile b/ports/stm32/Makefile index e99d386e4..141aadcf3 100644 --- a/ports/stm32/Makefile +++ b/ports/stm32/Makefile @@ -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 |
