diff options
| author | Man, Jianting (Meco) <[email protected]> | 2022-02-19 11:07:45 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-02-20 00:07:45 +0800 |
| commit | 6895da53071358cdd4da8f15f32c977dfedfbe89 (patch) | |
| tree | c65401f29a630222c0928487415b1d0346b0488b /components/net/sal_socket/SConscript | |
| parent | 5a61304a09bb2341565407d8fdc0a14f03c50aa3 (diff) | |
[net] adjust folder structure (#5587)
* [net] adjust folder structure
- 将lwip相关的文件夹,移入lwip文件夹
- Kconfig 分散到at netdev lwip sal文件夹中,使用menuconfig代替menu
Diffstat (limited to 'components/net/sal_socket/SConscript')
| -rw-r--r-- | components/net/sal_socket/SConscript | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/components/net/sal_socket/SConscript b/components/net/sal_socket/SConscript deleted file mode 100644 index 3903dce89a..0000000000 --- a/components/net/sal_socket/SConscript +++ /dev/null @@ -1,35 +0,0 @@ -# RT-Thread building script for component - -from building import * - -cwd = GetCurrentDir() - -src = Glob('src/*.c') -src += Glob('socket/net_netdb.c') - -CPPPATH = [cwd + '/include'] -CPPPATH += [cwd + '/include/socket'] - -if GetDepend('SAL_USING_LWIP'): - src += Glob('impl/af_inet_lwip.c') - -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') - src += Glob('dfs_net/*.c') - -if not GetDepend('HAVE_SYS_SOCKET_H'): - CPPPATH += [cwd + '/include/socket/sys_socket'] - -group = DefineGroup('SAL', src, depend = ['RT_USING_SAL'], CPPPATH = CPPPATH) - -Return('group') |
