Selaa lähdekoodia

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

此目录中为rv64通用代码
heyuanjie87 11 kuukautta sitten
vanhempi
commit
6d39cdf836
1 muutettua tiedostoa jossa 1 lisäystä ja 2 poistoa
  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