summaryrefslogtreecommitdiff
path: root/components/net/sal_socket/SConscript
diff options
context:
space:
mode:
authorchenyong <[email protected]>2018-11-15 14:39:31 +0800
committerchenyong <[email protected]>2018-11-15 14:48:20 +0800
commitbeaff7c09d4ae925f3d0269dc42a929468fd3745 (patch)
tree3449a62f0f200c6751728fdbd904e05957350981 /components/net/sal_socket/SConscript
parent1353a41183a47b87ce9847532dfab6123d36d5d9 (diff)
[net][sal] Add SAL components TLS features support
Signed-off-by: chenyong <[email protected]>
Diffstat (limited to 'components/net/sal_socket/SConscript')
-rw-r--r--components/net/sal_socket/SConscript5
1 files changed, 4 insertions, 1 deletions
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')