diff --git a/src/SConscript b/src/SConscript index c3a7775d75..8dd44f5df2 100644 --- a/src/SConscript +++ b/src/SConscript @@ -26,6 +26,9 @@ if GetDepend('RT_USING_MEMHEAP') == False: if GetDepend('RT_USING_USERHEAP'): SrcRemove(src, ['mem.c', 'slab.c']) +if GetDepend('RT_USING_SIGNALS') == False: + SrcRemove(src, ['signal.c']) + if GetDepend('RT_USING_DEVICE') == False: SrcRemove(src, ['device.c'])