summaryrefslogtreecommitdiff
path: root/components/drivers/ipc/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'components/drivers/ipc/SConscript')
-rw-r--r--components/drivers/ipc/SConscript5
1 files changed, 5 insertions, 0 deletions
diff --git a/components/drivers/ipc/SConscript b/components/drivers/ipc/SConscript
index ba14b4bb0f..d8a18939f3 100644
--- a/components/drivers/ipc/SConscript
+++ b/components/drivers/ipc/SConscript
@@ -8,6 +8,11 @@ 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')