2019-01-07 06:09:45 +08:00
|
|
|
# RT-Thread building script for bridge
|
2010-03-24 13:16:28 +08:00
|
|
|
|
2019-01-07 06:09:45 +08:00
|
|
|
import os
|
|
|
|
from building import *
|
2013-02-26 16:03:08 +08:00
|
|
|
|
2019-01-07 06:09:45 +08:00
|
|
|
Import('rtconfig')
|
2018-12-08 10:41:38 +08:00
|
|
|
|
2019-01-07 06:09:45 +08:00
|
|
|
cwd = GetCurrentDir()
|
|
|
|
group = []
|
|
|
|
list = os.listdir(cwd)
|
2018-12-08 10:41:38 +08:00
|
|
|
|
2019-01-07 06:09:45 +08:00
|
|
|
if rtconfig.ARCH in list:
|
|
|
|
group = group + SConscript(os.path.join(cwd, rtconfig.ARCH, 'SConscript'))
|
2010-03-24 13:16:28 +08:00
|
|
|
|
2010-11-20 20:31:00 +08:00
|
|
|
Return('group')
|