[libc/posix] limit header files path if disabled
This commit is contained in:
parent
cfcc72ee8a
commit
3a25af8b17
|
@ -3,12 +3,8 @@
|
||||||
from building import *
|
from building import *
|
||||||
|
|
||||||
cwd = GetCurrentDir()
|
cwd = GetCurrentDir()
|
||||||
src = []
|
src = ['epoll.c']
|
||||||
CPPPATH = [cwd]
|
|
||||||
|
|
||||||
if GetDepend('RT_USING_POSIX_EPOLL'):
|
group = DefineGroup('POSIX', src, depend = ['RT_USING_POSIX_EPOLL'])
|
||||||
src += ['epoll.c']
|
|
||||||
|
|
||||||
group = DefineGroup('POSIX', src, depend = [''], CPPPATH = CPPPATH)
|
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
|
|
@ -3,12 +3,9 @@
|
||||||
from building import *
|
from building import *
|
||||||
|
|
||||||
cwd = GetCurrentDir()
|
cwd = GetCurrentDir()
|
||||||
src = []
|
src = ['eventfd.c']
|
||||||
CPPPATH = [cwd]
|
CPPPATH = [cwd]
|
||||||
|
|
||||||
if GetDepend('RT_USING_POSIX_EVENTFD'):
|
group = DefineGroup('POSIX', src, depend = ['RT_USING_POSIX_EVENTFD'], CPPPATH = CPPPATH)
|
||||||
src += ['eventfd.c']
|
|
||||||
|
|
||||||
group = DefineGroup('POSIX', src, depend = [''], CPPPATH = CPPPATH)
|
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
|
|
@ -3,12 +3,8 @@
|
||||||
from building import *
|
from building import *
|
||||||
|
|
||||||
cwd = GetCurrentDir()
|
cwd = GetCurrentDir()
|
||||||
src = []
|
src = ['signalfd.c']
|
||||||
CPPPATH = [cwd]
|
|
||||||
|
|
||||||
if GetDepend('RT_USING_POSIX_SIGNALFD'):
|
group = DefineGroup('POSIX', src, depend = ['RT_USING_SMART','RT_USING_POSIX_SIGNALFD'])
|
||||||
src += ['signalfd.c']
|
|
||||||
|
|
||||||
group = DefineGroup('POSIX', src, depend = ['RT_USING_SMART','RT_USING_POSIX_SIGNALFD'], CPPPATH = CPPPATH)
|
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
|
|
@ -3,12 +3,8 @@
|
||||||
from building import *
|
from building import *
|
||||||
|
|
||||||
cwd = GetCurrentDir()
|
cwd = GetCurrentDir()
|
||||||
src = []
|
src = ['timerfd.c']
|
||||||
CPPPATH = [cwd]
|
|
||||||
|
|
||||||
if GetDepend('RT_USING_DFS'):
|
group = DefineGroup('POSIX', src, depend = ['RT_USING_DFS', 'RT_USING_POSIX_TIMERFD'])
|
||||||
src += ['timerfd.c']
|
|
||||||
|
|
||||||
group = DefineGroup('POSIX', src, depend = ['RT_USING_POSIX_TIMERFD'], CPPPATH = CPPPATH)
|
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
|
Loading…
Reference in New Issue