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