mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-12-05 15:15:29 +00:00
update poll sconscript
This commit is contained in:
@@ -3,9 +3,12 @@
|
|||||||
from building import *
|
from building import *
|
||||||
|
|
||||||
cwd = GetCurrentDir()
|
cwd = GetCurrentDir()
|
||||||
src = ['poll.c']
|
src = []
|
||||||
CPPPATH = [cwd]
|
CPPPATH = [cwd]
|
||||||
|
|
||||||
group = DefineGroup('POSIX', src, depend = ['RT_USING_POSIX_POLL'], CPPPATH = CPPPATH)
|
if GetDepend('RT_USING_POSIX_POLL'):
|
||||||
|
src += ['poll.c']
|
||||||
|
|
||||||
|
group = DefineGroup('POSIX', src, depend = [], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
|||||||
Reference in New Issue
Block a user