[efr32] fix COAPS switch build error (#4310)

third_party/mbedtls/ecp.c was excluded for mg12 and mg21.
This commit is contained in:
Marven Gilhespie
2019-11-11 17:41:16 +01:00
committed by Jonathan Hui
parent 8feaf6de1e
commit de1a439594
+1 -8
View File
@@ -55,6 +55,7 @@ libmbedcrypto_a_SOURCES = \
repo/library/ecdh.c \
repo/library/ecdsa.c \
repo/library/ecjpake.c \
repo/library/ecp.c \
repo/library/ecp_curves.c \
repo/library/entropy.c \
repo/library/entropy_poll.c \
@@ -80,14 +81,6 @@ libmbedcrypto_a_SOURCES = \
repo/library/x509_crt.c \
$(NULL)
if !OPENTHREAD_EXAMPLES_EFR32MG12
if !OPENTHREAD_EXAMPLES_EFR32MG21
libmbedcrypto_a_SOURCES += \
repo/library/ecp.c \
$(NULL)
endif
endif
if OPENTHREAD_BUILD_COVERAGE
Dash = -
CLEANFILES = $(shell find $(top_builddir)/third_party/mbedtls $(Dash)name "*.gcda" $(Dash)o $(Dash)name "*.gcno")