[BSP] [ci skip] fix list issue in SConscript

This commit is contained in:
Bernard Xiong 2014-01-04 07:31:41 +08:00
parent cdf02d3aa0
commit 28246abb5a
1 changed files with 2 additions and 2 deletions

View File

@ -2,11 +2,11 @@ from building import *
cwd = GetCurrentDir() cwd = GetCurrentDir()
objs = [] objs = []
list = os.listdir(cwd+'\\..') list = os.listdir(os.path.join(cwd, '..'))
for d in list: for d in list:
if d!='m4': if d!='m4':
path = os.path.join(cwd+'\\..', d) path = os.path.join(cwd, '..', d)
if os.path.isfile(os.path.join(path, 'SConscript')): if os.path.isfile(os.path.join(path, 'SConscript')):
objs = objs + SConscript(os.path.join(path, 'SConscript')) objs = objs + SConscript(os.path.join(path, 'SConscript'))