mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-12-05 23:22:43 +00:00
Also, - Rename UTEST_SMP_CALL_FUNC to RT_UTEST_SMP_CALL_FUNC. - Add depends on RT_USING_SMP in Kconfig for RT_UTEST_SMP_CALL_FUNC - Follow the naming rules of utest case to update the cases' name. Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
16 lines
391 B
Python
16 lines
391 B
Python
from building import *
|
|
|
|
cwd = GetCurrentDir()
|
|
src = []
|
|
if GetDepend("RT_USING_SMP"):
|
|
src += Glob('*.c')
|
|
CPPPATH = [cwd]
|
|
group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH)
|
|
|
|
list = os.listdir(cwd)
|
|
for item in list:
|
|
if os.path.isfile(os.path.join(cwd, item, 'SConscript')):
|
|
group = group + SConscript(os.path.join(item, 'SConscript'))
|
|
|
|
Return('group')
|