stm32f103-template/rt-thread/libcpu/arm/SConscript

19 lines
362 B
Python
Raw Normal View History

2023-05-09 22:30:49 +08:00
# RT-Thread building script for bridge
import os
from building import *
Import('rtconfig')
cwd = GetCurrentDir()
list = os.listdir(cwd)
# add common code files
group = SConscript(os.path.join('common', 'SConscript'))
# cpu porting code files
if rtconfig.CPU in list:
group = group + SConscript(os.path.join(rtconfig.CPU, 'SConscript'))
Return('group')