Bladeren bron

[libcpu][risc-v] Fixed bsp k210 failing to compile | 修复 k210 无法编译的问题。

tangweikang 4 jaren geleden
bovenliggende
commit
2f68120e49
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. 2 2
      libcpu/risc-v/SConscript

+ 2 - 2
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'))