revert docking

This commit is contained in:
Meco Man 2022-05-15 20:08:14 -04:00 committed by guo
parent 7fc707d99c
commit 0e5bb9d042
6 changed files with 6 additions and 6 deletions

View File

@ -11,24 +11,24 @@ CPPPATH = [cwd + '/include']
CPPPATH += [cwd + '/include/socket']
if GetDepend('SAL_USING_LWIP') or GetDepend('SAL_USING_AT'):
CPPPATH += [cwd + '/docking']
CPPPATH += [cwd + '/impl']
if GetDepend('SAL_USING_LWIP'):
src += ['docking/af_inet_lwip.c']
src += ['impl/af_inet_lwip.c']
if GetDepend('SAL_USING_AT'):
src += ['docking/af_inet_at.c']
src += ['impl/af_inet_at.c']
if GetDepend('SAL_USING_WINSOCK'):
src += ['docking/af_inet_winsock.c']
src += ['impl/af_inet_winsock.c']
if GetDepend('SAL_USING_TLS'):
src += ['docking/proto_mbedtls.c']
src += ['impl/proto_mbedtls.c']
if GetDepend('SAL_USING_POSIX'):
CPPPATH += [cwd + '/include/dfs_net']
src += ['socket/net_sockets.c']
src += ['dfs_net/*.c']
src += Glob('dfs_net/*.c')
if not GetDepend('HAVE_SYS_SOCKET_H'):
CPPPATH += [cwd + '/include/socket/sys_socket']