mirror of
https://github.com/espressif/openthread.git
synced 2026-07-28 14:47:46 +00:00
Allow project to provide MBEDTLS_CPPFLAGS to customize mbed (#1269)
Allow another project to provide alternative MBEDTLS_CPPFLAGS to customize things like using an alternative mbedtls-config.h file with different settings than the default ones.
This commit is contained in:
+1
-1
@@ -483,7 +483,7 @@ AC_ARG_ENABLE(builtin-mbedtls,
|
||||
],
|
||||
[enable_builtin_mbedtls=yes])
|
||||
|
||||
if test "$enable_builtin_mbedtls" = "yes"; then
|
||||
if test "$enable_builtin_mbedtls" = "yes" -a ! "${MBEDTLS_CPPFLAGS}"; then
|
||||
MBEDTLS_CPPFLAGS="-I\${abs_top_srcdir}/third_party/mbedtls"
|
||||
MBEDTLS_CPPFLAGS="${MBEDTLS_CPPFLAGS} -I\${abs_top_srcdir}/third_party/mbedtls/repo/include"
|
||||
MBEDTLS_CPPFLAGS="${MBEDTLS_CPPFLAGS} -I\${abs_top_srcdir}/third_party/mbedtls/repo/include/mbedtls"
|
||||
|
||||
Vendored
+1
-2
@@ -37,8 +37,7 @@ libmbedcrypto_a_CPPFLAGS = \
|
||||
-I$(top_srcdir)/include \
|
||||
-I$(top_srcdir)/src/core \
|
||||
-I$(MBEDTLS_SRCDIR)/include \
|
||||
-I$(MBEDTLS_SRCDIR)/include/mbedtls \
|
||||
-DMBEDTLS_CONFIG_FILE=\"mbedtls-config.h\" \
|
||||
$(MBEDTLS_CPPFLAGS) \
|
||||
$(NULL)
|
||||
|
||||
libmbedcrypto_a_SOURCES = \
|
||||
|
||||
Reference in New Issue
Block a user