diff options
Diffstat (limited to 'components/lwp/SConscript')
| -rw-r--r-- | components/lwp/SConscript | 3 |
1 files changed, 1 insertions, 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 |
