diff options
| author | Bernard Xiong <[email protected]> | 2018-08-28 08:44:57 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2018-08-28 08:44:57 +0800 |
| commit | 9028cb29f736ce214fea4c18e8e3d4aeef76eb5f (patch) | |
| tree | 5136c29fb8ab6d35820bd1110d17493a0cd01614 /components/net/sal_socket/SConscript | |
| parent | 9fdd46fa8be1c453455cb68e2563d426607e841f (diff) | |
| parent | 6d702e579f533179e5b158a5daae6a6e78ca2d70 (diff) | |
Merge pull request #1743 from chenyong111/master
Remove DFS dependencies in the SAL
Diffstat (limited to 'components/net/sal_socket/SConscript')
| -rw-r--r-- | components/net/sal_socket/SConscript | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/components/net/sal_socket/SConscript b/components/net/sal_socket/SConscript index 3dcb5c3fe4..e962193359 100644 --- a/components/net/sal_socket/SConscript +++ b/components/net/sal_socket/SConscript @@ -5,10 +5,9 @@ from building import * cwd = GetCurrentDir() src = Glob('src/*.c') -src += Glob('socket/*.c') +src += Glob('socket/net_netdb.c') CPPPATH = [cwd + '/include'] -CPPPATH += [cwd + '/include/dfs_net'] CPPPATH += [cwd + '/include/socket'] if GetDepend('SAL_USING_LWIP'): @@ -21,6 +20,8 @@ if GetDepend('SAL_USING_LWIP') or GetDepend('SAL_USING_AT'): CPPPATH += [cwd + '/impl'] 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_SELECT_H'): |
