[libcpu] Fix the build directory issue
This commit is contained in:
parent
b1a98ebe46
commit
bd8f0d0423
|
@ -10,6 +10,6 @@ group = []
|
||||||
list = os.listdir(cwd)
|
list = os.listdir(cwd)
|
||||||
|
|
||||||
if rtconfig.ARCH in list:
|
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')
|
Return('group')
|
||||||
|
|
|
@ -9,9 +9,9 @@ cwd = GetCurrentDir()
|
||||||
group = []
|
group = []
|
||||||
|
|
||||||
# add common code files
|
# 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
|
# 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')
|
Return('group')
|
||||||
|
|
|
@ -5,14 +5,12 @@ from building import *
|
||||||
|
|
||||||
Import('rtconfig')
|
Import('rtconfig')
|
||||||
|
|
||||||
cwd = GetCurrentDir()
|
cwd = GetCurrentDir()
|
||||||
group = []
|
|
||||||
list = os.listdir(cwd)
|
|
||||||
|
|
||||||
# add common code files
|
# add common code files
|
||||||
group = group + SConscript(os.path.join(cwd, 'common', 'SConscript'))
|
group = SConscript(os.path.join('common', 'SConscript'))
|
||||||
|
|
||||||
# cpu porting code files
|
# 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')
|
Return('group')
|
||||||
|
|
|
@ -10,6 +10,6 @@ group = []
|
||||||
list = os.listdir(cwd)
|
list = os.listdir(cwd)
|
||||||
|
|
||||||
# cpu porting code files
|
# 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')
|
Return('group')
|
||||||
|
|
|
@ -10,6 +10,6 @@ group = []
|
||||||
list = os.listdir(cwd)
|
list = os.listdir(cwd)
|
||||||
|
|
||||||
# cpu porting code files
|
# 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')
|
Return('group')
|
||||||
|
|
|
@ -10,9 +10,9 @@ group = []
|
||||||
list = os.listdir(cwd)
|
list = os.listdir(cwd)
|
||||||
|
|
||||||
# add common code files
|
# 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
|
# 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')
|
Return('group')
|
||||||
|
|
|
@ -10,6 +10,6 @@ group = []
|
||||||
list = os.listdir(cwd)
|
list = os.listdir(cwd)
|
||||||
|
|
||||||
# cpu porting code files
|
# 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')
|
Return('group')
|
||||||
|
|
|
@ -10,9 +10,9 @@ group = []
|
||||||
list = os.listdir(cwd)
|
list = os.listdir(cwd)
|
||||||
|
|
||||||
# add common code files
|
# 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
|
# 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')
|
Return('group')
|
||||||
|
|
|
@ -10,6 +10,6 @@ group = []
|
||||||
list = os.listdir(cwd)
|
list = os.listdir(cwd)
|
||||||
|
|
||||||
# cpu porting code files
|
# 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')
|
Return('group')
|
||||||
|
|
|
@ -10,9 +10,9 @@ group = []
|
||||||
list = os.listdir(cwd)
|
list = os.listdir(cwd)
|
||||||
|
|
||||||
# add common code files
|
# 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
|
# 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')
|
Return('group')
|
||||||
|
|
|
@ -10,9 +10,9 @@ group = []
|
||||||
list = os.listdir(cwd)
|
list = os.listdir(cwd)
|
||||||
|
|
||||||
# add common code files
|
# 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
|
# 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')
|
Return('group')
|
||||||
|
|
|
@ -10,6 +10,6 @@ group = []
|
||||||
list = os.listdir(cwd)
|
list = os.listdir(cwd)
|
||||||
|
|
||||||
# cpu porting code files
|
# 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')
|
Return('group')
|
||||||
|
|
|
@ -10,6 +10,6 @@ group = []
|
||||||
list = os.listdir(cwd)
|
list = os.listdir(cwd)
|
||||||
|
|
||||||
# cpu porting code files
|
# 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')
|
Return('group')
|
||||||
|
|
|
@ -10,6 +10,6 @@ group = []
|
||||||
list = os.listdir(cwd)
|
list = os.listdir(cwd)
|
||||||
|
|
||||||
# cpu porting code files
|
# 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')
|
Return('group')
|
||||||
|
|
|
@ -10,6 +10,6 @@ group = []
|
||||||
list = os.listdir(cwd)
|
list = os.listdir(cwd)
|
||||||
|
|
||||||
# cpu porting code files
|
# 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')
|
Return('group')
|
||||||
|
|
|
@ -10,6 +10,6 @@ group = []
|
||||||
list = os.listdir(cwd)
|
list = os.listdir(cwd)
|
||||||
|
|
||||||
# cpu porting code files
|
# 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')
|
Return('group')
|
||||||
|
|
Loading…
Reference in New Issue