From 6d39cdf8361c22865ee44824b4fd3d197b32a212 Mon Sep 17 00:00:00 2001 From: heyuanjie87 Date: Fri, 13 Sep 2024 15:42:13 +0800 Subject: [PATCH] =?UTF-8?q?[lwp]=20=E5=8F=96=E6=B6=88=E8=84=9A=E6=9C=AC?= =?UTF-8?q?=E4=B8=AD=E9=99=90=E5=88=B6rv=E7=9A=84=E5=85=B7=E4=BD=93cpu?= =?UTF-8?q?=E7=B1=BB=E5=88=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 此目录中为rv64通用代码 --- components/lwp/SConscript | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/components/lwp/SConscript b/components/lwp/SConscript index be7b4f7b64..3182254e7d 100644 --- a/components/lwp/SConscript +++ b/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