[kernel] update sconscript

This commit is contained in:
Meco Man 2021-01-03 07:23:50 +08:00
parent b315c36a5c
commit d7d663562e
1 changed files with 3 additions and 0 deletions

View File

@ -26,6 +26,9 @@ if GetDepend('RT_USING_MEMHEAP') == False:
if GetDepend('RT_USING_USERHEAP'): if GetDepend('RT_USING_USERHEAP'):
SrcRemove(src, ['mem.c', 'slab.c']) SrcRemove(src, ['mem.c', 'slab.c'])
if GetDepend('RT_USING_SIGNALS') == False:
SrcRemove(src, ['signal.c'])
if GetDepend('RT_USING_DEVICE') == False: if GetDepend('RT_USING_DEVICE') == False:
SrcRemove(src, ['device.c']) SrcRemove(src, ['device.c'])