原始版本
This commit is contained in:
18
RT_Thread/components/drivers/ipc/SConscript
Normal file
18
RT_Thread/components/drivers/ipc/SConscript
Normal file
@ -0,0 +1,18 @@
|
||||
from building import *
|
||||
|
||||
cwd = GetCurrentDir()
|
||||
src = Glob('*.c')
|
||||
CPPPATH = [cwd + '/../include']
|
||||
|
||||
if not GetDepend('RT_USING_HEAP'):
|
||||
SrcRemove(src, 'dataqueue.c')
|
||||
SrcRemove(src, 'pipe.c')
|
||||
|
||||
if not GetDepend('RT_USING_SMP'):
|
||||
SrcRemove(src, 'completion_mp.c')
|
||||
else:
|
||||
SrcRemove(src, 'completion_up.c')
|
||||
|
||||
group = DefineGroup('DeviceDrivers', src, depend = ['RT_USING_DEVICE_IPC'], CPPPATH = CPPPATH, LOCAL_CPPDEFINES=['__RT_IPC_SOURCE__'])
|
||||
|
||||
Return('group')
|
||||
Reference in New Issue
Block a user