summaryrefslogtreecommitdiff
path: root/components/net/sal_socket/SConscript
diff options
context:
space:
mode:
authorchenyong <[email protected]>2018-08-24 20:39:10 +0800
committerchenyong <[email protected]>2018-08-25 16:01:31 +0800
commit192b17751868b4aa9a95ad34bb90dcd54071e5df (patch)
tree405f3c6ebd8c33a57eac4a0f80ef3abd3e8a18ec /components/net/sal_socket/SConscript
parent0d737de882bbdaaa726552f9dae19aa402eb7ce6 (diff)
[at][sal] Add query and unregistered protocol family functions
Diffstat (limited to 'components/net/sal_socket/SConscript')
-rw-r--r--components/net/sal_socket/SConscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/components/net/sal_socket/SConscript b/components/net/sal_socket/SConscript
index 76becca09f..3dcb5c3fe4 100644
--- a/components/net/sal_socket/SConscript
+++ b/components/net/sal_socket/SConscript
@@ -16,6 +16,9 @@ if GetDepend('SAL_USING_LWIP'):
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_POSIX'):
src += Glob('dfs_net/*.c')