rt-thread-official/libcpu/arm/SConscript

19 lines
362 B
Python
Raw Normal View History

2019-01-07 06:09:45 +08:00
# RT-Thread building script for bridge
import os
from building import *
Import('rtconfig')
2019-03-26 21:36:01 +08:00
cwd = GetCurrentDir()
list = os.listdir(cwd)
2019-01-07 06:09:45 +08:00
# add common code files
2019-03-26 21:36:01 +08:00
group = SConscript(os.path.join('common', 'SConscript'))
2019-01-07 06:09:45 +08:00
# cpu porting code files
if rtconfig.CPU in list:
group = group + SConscript(os.path.join(rtconfig.CPU, 'SConscript'))
2019-01-07 06:09:45 +08:00
Return('group')