[kernel][dm]适配新的设备驱动模型 (#8075)

This commit is contained in:
zms123456
2023-10-18 20:50:30 +08:00
committed by GitHub
parent dd33b31c28
commit d01dd05a0c
30 changed files with 306 additions and 314 deletions
-3
View File
@@ -30,9 +30,6 @@ if GetDepend('RT_USING_SMP') == False:
if GetDepend('RT_USING_SMP') == True:
SrcRemove(src, ['scheduler_up.c'])
if GetDepend('RT_USING_DM') == False:
SrcRemove(src, ['driver.c'])
group = DefineGroup('Kernel', src, depend = [''], CPPPATH = inc, CPPDEFINES = ['__RTTHREAD__'])
Return('group')