[libcpu][risc-v] Fixed bsp k210 failing to compile | 修复 k210 无法编译的问题。
This commit is contained in:
parent
a5590816e3
commit
2f68120e49
|
@ -10,7 +10,7 @@ group = []
|
||||||
list = os.listdir(cwd)
|
list = os.listdir(cwd)
|
||||||
|
|
||||||
# add common code files
|
# add common code files
|
||||||
if rtconfig.VENDOR == "t-head" :
|
if rtconfig.CPU == "e906" :
|
||||||
group = group
|
group = group
|
||||||
elif rtconfig.CPU == "nuclei" :
|
elif rtconfig.CPU == "nuclei" :
|
||||||
group = group
|
group = group
|
||||||
|
@ -18,7 +18,7 @@ else :
|
||||||
group = group + SConscript(os.path.join(cwd, 'common', 'SConscript'))
|
group = group + SConscript(os.path.join(cwd, 'common', 'SConscript'))
|
||||||
|
|
||||||
# cpu porting code files
|
# cpu porting code files
|
||||||
if rtconfig.VENDOR == "t-head" :
|
if rtconfig.CPU == "e906" :
|
||||||
group = group + SConscript(os.path.join(cwd, rtconfig.VENDOR, rtconfig.CPU, 'SConscript'))
|
group = group + SConscript(os.path.join(cwd, rtconfig.VENDOR, rtconfig.CPU, 'SConscript'))
|
||||||
else :
|
else :
|
||||||
group = group + SConscript(os.path.join(cwd, rtconfig.CPU, 'SConscript'))
|
group = group + SConscript(os.path.join(cwd, rtconfig.CPU, 'SConscript'))
|
||||||
|
|
Loading…
Reference in New Issue