diff options
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'): |
