diff options
| author | tangweikang <[email protected]> | 2020-10-29 10:54:53 +0800 |
|---|---|---|
| committer | tangweikang <[email protected]> | 2020-10-29 10:54:53 +0800 |
| commit | 2f68120e49ab352027b216c3008c2dbe087b2307 (patch) | |
| tree | d6c7b905fd2af0d77e324f8ff44d320299b2e886 /libcpu | |
| parent | a5590816e3de6b8c1a9ec5e18b0c632cc2e87d53 (diff) | |
[libcpu][risc-v] Fixed bsp k210 failing to compile | 修复 k210 无法编译的问题。
Diffstat (limited to 'libcpu')
| -rw-r--r-- | libcpu/risc-v/SConscript | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcpu/risc-v/SConscript b/libcpu/risc-v/SConscript index 5055b533e6..dece8b0423 100644 --- a/libcpu/risc-v/SConscript +++ b/libcpu/risc-v/SConscript @@ -10,7 +10,7 @@ group = [] list = os.listdir(cwd) # add common code files -if rtconfig.VENDOR == "t-head" : +if rtconfig.CPU == "e906" : group = group elif rtconfig.CPU == "nuclei" : group = group @@ -18,7 +18,7 @@ else : group = group + SConscript(os.path.join(cwd, 'common', 'SConscript')) # cpu porting code files -if rtconfig.VENDOR == "t-head" : +if rtconfig.CPU == "e906" : group = group + SConscript(os.path.join(cwd, rtconfig.VENDOR, rtconfig.CPU, 'SConscript')) else : group = group + SConscript(os.path.join(cwd, rtconfig.CPU, 'SConscript')) |
