Skip to content

Commit

Permalink
micropython : fix compile for external mbedtls
Browse files Browse the repository at this point in the history
added new CFLAG because it looks micropyton internal config file otherwise

Signed-off-by: Seo Suchan <tjtncks@gmail.com>
  • Loading branch information
orangepizza committed May 9, 2024
1 parent 80a97f0 commit 9b51424
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ Subject: [PATCH 06/10] extmod: Use system mbedtls
- x509write_csr.c \
- xtea.c \
- )
+CFLAGS_EXTMOD += -DMICROPY_SSL_MBEDTLS=1
+CFLAGS_EXTMOD += -DMICROPY_SSL_MBEDTLS=1 -DMBEDTLS_CONFIG_FILE=\"$(STAGING_DIR)/usr/include/mbedtls/mbedtls_config.h\"
+LDFLAGS_MOD += -lmbedx509 -lmbedtls -lmbedcrypto
endif
endif
Expand Down

0 comments on commit 9b51424

Please sign in to comment.