summaryrefslogtreecommitdiff
path: root/components/dfs/filesystems/net/SConscript
blob: 0b5e45c090d15a4822c81d0d59976c319e65462e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# RT-Thread building script for component

from building import *

cwd = GetCurrentDir()
src = Glob('*.c')
CPPPATH = [cwd]

if not GetDepend('HAVE_SYS_SELECT_H'):
    CPPPATH += [cwd + '/select']

if not GetDepend('HAVE_SYS_SOCKET_H'):
    CPPPATH += [cwd + '/socket']

group = DefineGroup('Filesystem', src, depend = ['RT_USING_DFS', 'RT_USING_DFS_NET'], CPPPATH = CPPPATH)

Return('group')