[DFS] Use SConscript of each file system to build.

This commit is contained in:
Bernard Xiong
2015-04-03 14:26:18 +00:00
parent 6c83ff6eca
commit 1377022b18
10 changed files with 151 additions and 280 deletions
+15
View File
@@ -0,0 +1,15 @@
# RT-Thread building script for bridge
import os
from building import *
cwd = GetCurrentDir()
objs = []
list = os.listdir(cwd)
for d in list:
path = os.path.join(cwd, d)
if os.path.isfile(os.path.join(path, 'SConscript')):
objs = objs + SConscript(os.path.join(d, 'SConscript'))
Return('objs')