Merge pull request #4219 from mysterywolf/signal

[kernel] update sconscript
This commit is contained in:
Bernard Xiong 2021-01-04 00:04:53 +08:00 committed by GitHub
commit 0a2b5242aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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'):
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'])