[libcpu]优化rv构建脚本中选择vendor目录的判断条件
This commit is contained in:
parent
c9d18c444a
commit
29c0357ff8
|
@ -17,7 +17,7 @@ else :
|
||||||
group += SConscript(os.path.join('common', 'SConscript'))
|
group += SConscript(os.path.join('common', 'SConscript'))
|
||||||
|
|
||||||
# cpu porting code files
|
# cpu porting code files
|
||||||
if rtconfig.CPU == "c906":
|
if 'VENDOR' in vars(rtconfig) and rtconfig.VENDOR != '':
|
||||||
group = group + SConscript(os.path.join(rtconfig.VENDOR, rtconfig.CPU, 'SConscript'))
|
group = group + SConscript(os.path.join(rtconfig.VENDOR, rtconfig.CPU, 'SConscript'))
|
||||||
elif rtconfig.CPU in list:
|
elif rtconfig.CPU in list:
|
||||||
group = group + SConscript(os.path.join(rtconfig.CPU, 'SConscript'))
|
group = group + SConscript(os.path.join(rtconfig.CPU, 'SConscript'))
|
||||||
|
|
Loading…
Reference in New Issue