Skip to content

Commit

Permalink
[libcpu]优化rv构建脚本中选择vendor目录的判断条件
Browse files Browse the repository at this point in the history
  • Loading branch information
heyuanjie87 authored and mysterywolf committed Sep 19, 2024
1 parent c9d18c4 commit 29c0357
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libcpu/risc-v/SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ else :
group += SConscript(os.path.join('common', 'SConscript'))

# 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'))
elif rtconfig.CPU in list:
group = group + SConscript(os.path.join(rtconfig.CPU, 'SConscript'))
Expand Down

0 comments on commit 29c0357

Please sign in to comment.