diff options
| author | Meco Man <[email protected]> | 2022-05-15 14:52:00 -0400 |
|---|---|---|
| committer | guo <[email protected]> | 2022-05-16 10:02:22 +0800 |
| commit | b793b6427a9093663a89cbca786c52d17c077266 (patch) | |
| tree | db745068a760add9916a0f3a9552cbecc96fdf43 /components/net/sal/SConscript | |
| parent | 19abf927d210338ea830908af7de37bb23d12682 (diff) | |
[sal] add draft for docking winsock
Diffstat (limited to 'components/net/sal/SConscript')
| -rw-r--r-- | components/net/sal/SConscript | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/components/net/sal/SConscript b/components/net/sal/SConscript index 3903dce89a..25788e0bed 100644 --- a/components/net/sal/SConscript +++ b/components/net/sal/SConscript @@ -11,16 +11,19 @@ CPPPATH = [cwd + '/include'] CPPPATH += [cwd + '/include/socket'] if GetDepend('SAL_USING_LWIP'): - src += Glob('impl/af_inet_lwip.c') + src += Glob('docking/af_inet_lwip.c') if GetDepend('SAL_USING_AT'): - src += Glob('impl/af_inet_at.c') + src += Glob('docking/af_inet_at.c') if GetDepend('SAL_USING_LWIP') or GetDepend('SAL_USING_AT'): - CPPPATH += [cwd + '/impl'] + CPPPATH += [cwd + '/docking'] + +if GetDepend('SAL_USING_WINSOCK'): + src += Glob('docking/af_inet_winsock.c') if GetDepend('SAL_USING_TLS'): - src += Glob('impl/proto_mbedtls.c') + src += Glob('docking/proto_mbedtls.c') if GetDepend('SAL_USING_POSIX'): CPPPATH += [cwd + '/include/dfs_net'] |
