[libcpu] Fix the build directory issue

This commit is contained in:
BernardXiong 2019-03-26 13:36:01 +00:00
parent b1a98ebe46
commit bd8f0d0423
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

@ -6,13 +6,11 @@ from building import *
Import('rtconfig')
cwd = GetCurrentDir()
group = []
list = os.listdir(cwd)
# 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')