Skip to content

Commit

Permalink
[kernel] update sconscript
Browse files Browse the repository at this point in the history
  • Loading branch information
mysterywolf committed Jan 2, 2021
1 parent b315c36 commit d7d6635
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -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'])

Expand Down

0 comments on commit d7d6635

Please sign in to comment.