[Kernel] cleanup code of spinlock in SMP Kernel

This commit is contained in:
Bernard Xiong
2019-09-28 11:56:03 +08:00
parent cb07e5fb24
commit 5cd6509296
4 changed files with 42 additions and 47 deletions
+3
View File
@@ -26,6 +26,9 @@ if GetDepend('RT_USING_MEMHEAP') == False:
if GetDepend('RT_USING_DEVICE') == False:
SrcRemove(src, ['device.c'])
if GetDepend('RT_USING_SMP') == False:
SrcRemove(src, ['cpu.c'])
group = DefineGroup('Kernel', src, depend = [''], CPPPATH = CPPPATH)
Return('group')