From beaff7c09d4ae925f3d0269dc42a929468fd3745 Mon Sep 17 00:00:00 2001 From: chenyong <1521761801@qq.com> Date: Thu, 15 Nov 2018 14:39:31 +0800 Subject: [net][sal] Add SAL components TLS features support Signed-off-by: chenyong <1521761801@qq.com> --- components/net/sal_socket/SConscript | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'components/net/sal_socket/SConscript') diff --git a/components/net/sal_socket/SConscript b/components/net/sal_socket/SConscript index e962193359..cc7634f7d9 100644 --- a/components/net/sal_socket/SConscript +++ b/components/net/sal_socket/SConscript @@ -15,10 +15,13 @@ if GetDepend('SAL_USING_LWIP'): if GetDepend('SAL_USING_AT'): src += Glob('impl/af_inet_at.c') - + if GetDepend('SAL_USING_LWIP') or GetDepend('SAL_USING_AT'): CPPPATH += [cwd + '/impl'] +if GetDepend('SAL_USING_TLS'): + src += Glob('impl/proto_mbedtls.c') + if GetDepend('SAL_USING_POSIX'): CPPPATH += [cwd + '/include/dfs_net'] src += Glob('socket/net_sockets.c') -- cgit v1.3.1