4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-02-01 05:30:25 +08:00
2024-11-03 10:08:45 +08:00

11 lines
208 B
Python

from building import *
cwd = GetCurrentDir()
src = []
if GetDepend("RT_USING_SMP"):
src += Glob('*.c')
CPPPATH = [cwd]
group = DefineGroup('smp', src, depend = [''], CPPPATH = CPPPATH)
Return('group')