[libcpu]只添加在列表中的 cpu 移植文件
This commit is contained in:
parent
7f99cd8342
commit
5726bf4f3f
|
@ -6,11 +6,13 @@ from building import *
|
|||
Import('rtconfig')
|
||||
|
||||
cwd = GetCurrentDir()
|
||||
list = os.listdir(cwd)
|
||||
|
||||
# add common code files
|
||||
group = SConscript(os.path.join('common', 'SConscript'))
|
||||
|
||||
# cpu porting code files
|
||||
group = group + SConscript(os.path.join(rtconfig.CPU, 'SConscript'))
|
||||
if rtconfig.CPU in list:
|
||||
group = group + SConscript(os.path.join(rtconfig.CPU, 'SConscript'))
|
||||
|
||||
Return('group')
|
||||
|
|
Loading…
Reference in New Issue