aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorYakun Xu <xyk@google.com>2019-01-31 02:13:45 +0800
committerJonathan Hui <jonhui@nestlabs.com>2019-01-30 10:13:45 -0800
commitac5d3bbafe717964f5c6d7306343e08f3a5718ee (patch)
tree9f99422b37e6e1fec778900cae0cb683b2d54cd5 /tools
parent1364ef4fb9c3865b8c5f7cce87d84ecd12a1ddcf (diff)
downloadot-br-posix-ac5d3bbafe717964f5c6d7306343e08f3a5718ee.tar.gz
[mbedtls] use source code from OpenThread (#235)
Diffstat (limited to 'tools')
-rw-r--r--tools/Makefile.am8
1 files changed, 5 insertions, 3 deletions
diff --git a/tools/Makefile.am b/tools/Makefile.am
index 6fbde854..6d8bc320 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -28,6 +28,8 @@
include $(abs_top_nlbuild_autotools_dir)/automake/pre.am
+include $(top_srcdir)/third_party/openthread/mbedtls.mk
+
noinst_PROGRAMS = pskc steering-data
pskc_SOURCES = \
@@ -38,7 +40,7 @@ pskc_CPPFLAGS = \
-I$(top_srcdir)/src \
-I$(top_srcdir)/src/agent \
-I$(top_srcdir)/src/web \
- -I$(top_srcdir)/third_party/mbedtls/repo/include \
+ $(MBEDTLS_CPPFLAGS) \
$(NULL)
pskc_LDADD = \
@@ -57,12 +59,12 @@ steering_data_SOURCES = \
steering_data_CPPFLAGS = \
-I$(top_srcdir)/src \
-I$(top_srcdir)/src/agent \
- -I$(top_srcdir)/third_party/mbedtls/repo/include \
+ $(MBEDTLS_CPPFLAGS) \
$(NULL)
steering_data_LDADD = \
$(top_builddir)/src/agent/libotbr-agent.la \
- $(top_builddir)/src/utils/libutils.la \
+ $(top_builddir)/src/utils/libutils.la \
$(NULL)
steering_data_LDFLAGS = \