Parcourir la source

[lwp] 取消脚本中限制rv的具体cpu类别

此目录中为rv64通用代码
heyuanjie87 il y a 11 mois
Parent
commit
6d39cdf836
1 fichiers modifiés avec 1 ajouts et 2 suppressions
  1. 1 2
      components/lwp/SConscript

+ 1 - 2
components/lwp/SConscript

@@ -18,8 +18,7 @@ cpu      = rtconfig.CPU
 
 # fix the cpu for risc-v
 if arch == 'risc-v':
-    rv64 = ['virt64', 'c906']
-    if cpu in rv64:
+    if GetDepend('ARCH_CPU_64BIT'):
         cpu = 'rv64'
 
 if platform in platform_file.keys(): # support platforms