Merge pull request #2509 from BernardXiong/branch_tools

[libcpu] Fix the build directory issue
This commit is contained in:
Bernard Xiong 2019-03-26 23:44:19 +08:00 committed by GitHub
commit 1cf98dd9a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
16 changed files with 23 additions and 25 deletions

View File

@ -10,6 +10,6 @@ group = []
list = os.listdir(cwd)
if rtconfig.ARCH in list:
group = group + SConscript(os.path.join(cwd, rtconfig.ARCH, 'SConscript'))
group = group + SConscript(os.path.join(rtconfig.ARCH, 'SConscript'))
Return('group')

View File

@ -9,9 +9,9 @@ cwd = GetCurrentDir()
group = []
# add common code files
group = group + SConscript(os.path.join(cwd, 'common', 'SConscript'))
group = group + SConscript(os.path.join('common', 'SConscript'))
# cpu porting code files
group = group + SConscript(os.path.join(cwd, rtconfig.CPU, 'SConscript'))
group = group + SConscript(os.path.join(rtconfig.CPU, 'SConscript'))
Return('group')

View File

@ -5,14 +5,12 @@ from building import *
Import('rtconfig')
cwd = GetCurrentDir()
group = []
list = os.listdir(cwd)
cwd = GetCurrentDir()
# add common code files
group = group + SConscript(os.path.join(cwd, 'common', 'SConscript'))
group = SConscript(os.path.join('common', 'SConscript'))
# cpu porting code files
group = group + SConscript(os.path.join(cwd, rtconfig.CPU, 'SConscript'))
group = group + SConscript(os.path.join(rtconfig.CPU, 'SConscript'))
Return('group')

View File

@ -10,6 +10,6 @@ group = []
list = os.listdir(cwd)
# cpu porting code files
group = group + SConscript(os.path.join(cwd, rtconfig.CPU, 'SConscript'))
group = group + SConscript(os.path.join(rtconfig.CPU, 'SConscript'))
Return('group')

View File

@ -10,6 +10,6 @@ group = []
list = os.listdir(cwd)
# cpu porting code files
group = group + SConscript(os.path.join(cwd, rtconfig.CPU, 'SConscript'))
group = group + SConscript(os.path.join(rtconfig.CPU, 'SConscript'))
Return('group')

View File

@ -10,9 +10,9 @@ group = []
list = os.listdir(cwd)
# add common code files
group = group + SConscript(os.path.join(cwd, 'common', 'SConscript'))
group = group + SConscript(os.path.join('common', 'SConscript'))
# cpu porting code files
group = group + SConscript(os.path.join(cwd, rtconfig.CPU, 'SConscript'))
group = group + SConscript(os.path.join(rtconfig.CPU, 'SConscript'))
Return('group')

View File

@ -10,6 +10,6 @@ group = []
list = os.listdir(cwd)
# cpu porting code files
group = group + SConscript(os.path.join(cwd, rtconfig.CPU, 'SConscript'))
group = group + SConscript(os.path.join(rtconfig.CPU, 'SConscript'))
Return('group')

View File

@ -10,9 +10,9 @@ group = []
list = os.listdir(cwd)
# add common code files
group = group + SConscript(os.path.join(cwd, 'common', 'SConscript'))
group = group + SConscript(os.path.join('common', 'SConscript'))
# cpu porting code files
group = group + SConscript(os.path.join(cwd, rtconfig.CPU, 'SConscript'))
group = group + SConscript(os.path.join(rtconfig.CPU, 'SConscript'))
Return('group')

View File

@ -10,6 +10,6 @@ group = []
list = os.listdir(cwd)
# cpu porting code files
group = group + SConscript(os.path.join(cwd, rtconfig.CPU, 'SConscript'))
group = group + SConscript(os.path.join(rtconfig.CPU, 'SConscript'))
Return('group')

View File

@ -10,9 +10,9 @@ group = []
list = os.listdir(cwd)
# add common code files
group = group + SConscript(os.path.join(cwd, 'common', 'SConscript'))
group = group + SConscript(os.path.join('common', 'SConscript'))
# cpu porting code files
group = group + SConscript(os.path.join(cwd, rtconfig.CPU, 'SConscript'))
group = group + SConscript(os.path.join(rtconfig.CPU, 'SConscript'))
Return('group')

View File

@ -10,9 +10,9 @@ group = []
list = os.listdir(cwd)
# add common code files
group = group + SConscript(os.path.join(cwd, 'common', 'SConscript'))
group = group + SConscript(os.path.join('common', 'SConscript'))
# cpu porting code files
group = group + SConscript(os.path.join(cwd, rtconfig.CPU, 'SConscript'))
group = group + SConscript(os.path.join(rtconfig.CPU, 'SConscript'))
Return('group')

View File

@ -10,6 +10,6 @@ group = []
list = os.listdir(cwd)
# cpu porting code files
group = group + SConscript(os.path.join(cwd, rtconfig.CPU, 'SConscript'))
group = group + SConscript(os.path.join(rtconfig.CPU, 'SConscript'))
Return('group')

View File

@ -10,6 +10,6 @@ group = []
list = os.listdir(cwd)
# cpu porting code files
group = group + SConscript(os.path.join(cwd, rtconfig.CPU, 'SConscript'))
group = group + SConscript(os.path.join(rtconfig.CPU, 'SConscript'))
Return('group')

View File

@ -10,6 +10,6 @@ group = []
list = os.listdir(cwd)
# cpu porting code files
group = group + SConscript(os.path.join(cwd, rtconfig.CPU, 'SConscript'))
group = group + SConscript(os.path.join(rtconfig.CPU, 'SConscript'))
Return('group')

View File

@ -10,6 +10,6 @@ group = []
list = os.listdir(cwd)
# cpu porting code files
group = group + SConscript(os.path.join(cwd, rtconfig.CPU, 'SConscript'))
group = group + SConscript(os.path.join(rtconfig.CPU, 'SConscript'))
Return('group')

View File

@ -10,6 +10,6 @@ group = []
list = os.listdir(cwd)
# cpu porting code files
group = group + SConscript(os.path.join(cwd, rtconfig.CPU, 'SConscript'))
group = group + SConscript(os.path.join(rtconfig.CPU, 'SConscript'))
Return('group')