rt-thread-official/libcpu/mips/SConscript

20 lines
388 B
Python
Raw Permalink 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-01-07 06:09:45 +08:00
cwd = GetCurrentDir()
group = []
list = os.listdir(cwd)
# add common code files
2019-03-26 21:36:01 +08:00
group = group + SConscript(os.path.join('common', 'SConscript'))
2019-01-07 06:09:45 +08:00
# cpu porting code files
if rtconfig.CPU != 'common':
group = group + SConscript(os.path.join(rtconfig.CPU, 'SConscript'))
2019-01-07 06:09:45 +08:00
Return('group')