mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-22 11:30:01 +08:00
[libc] Add HAVE_SYS_SELECT_H/HAVE_SYS_SOCKET_H options.
This commit is contained in:
@@ -6,6 +6,12 @@ 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')
|
||||
|
||||
Reference in New Issue
Block a user