diff options
Diffstat (limited to 'components/drivers/ipc/SConscript')
| -rw-r--r-- | components/drivers/ipc/SConscript | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/components/drivers/ipc/SConscript b/components/drivers/ipc/SConscript new file mode 100644 index 0000000000..9f921ec509 --- /dev/null +++ b/components/drivers/ipc/SConscript @@ -0,0 +1,13 @@ +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') + +group = DefineGroup('DeviceDrivers', src, depend = ['RT_USING_DEVICE_IPC'], CPPPATH = CPPPATH) + +Return('group') |
