From 6d702e579f533179e5b158a5daae6a6e78ca2d70 Mon Sep 17 00:00:00 2001 From: chenyong <1521761801@qq.com> Date: Mon, 27 Aug 2018 19:50:37 +0800 Subject: [net][sal] Remove DFS dependencies in the SAL --- components/net/sal_socket/SConscript | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'components/net/sal_socket/SConscript') 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'): -- cgit v1.3.1