SConscript 388 字节
Newer Older
1 2 3 4 5
# RT-Thread building script for bridge

import os
from building import *

6
Import('rtconfig')
7 8 9 10 11 12

cwd   = GetCurrentDir()
group = []
list  = os.listdir(cwd)

# add common code files
13
group = group + SConscript(os.path.join('common', 'SConscript'))
14 15

# cpu porting code files
J
Jiaxun Yang 已提交
16 17
if rtconfig.CPU != 'common':
    group = group + SConscript(os.path.join(rtconfig.CPU, 'SConscript'))
18 19

Return('group')