2015-05-01 16:19:52 +08:00
|
|
|
# RT-Thread building script for component
|
|
|
|
|
|
|
|
from building import *
|
|
|
|
|
|
|
|
cwd = GetCurrentDir()
|
|
|
|
src = Glob('*.c')
|
|
|
|
CPPPATH = [cwd]
|
|
|
|
|
2017-11-05 14:36:48 +08:00
|
|
|
if not GetDepend('HAVE_SYS_SELECT_H'):
|
|
|
|
CPPPATH += [cwd + '/select']
|
|
|
|
|
|
|
|
if not GetDepend('HAVE_SYS_SOCKET_H'):
|
|
|
|
CPPPATH += [cwd + '/socket']
|
|
|
|
|
2016-05-10 09:22:01 +08:00
|
|
|
group = DefineGroup('Filesystem', src, depend = ['RT_USING_DFS', 'RT_USING_DFS_NET'], CPPPATH = CPPPATH)
|
2015-05-01 16:19:52 +08:00
|
|
|
|
|
|
|
Return('group')
|