From 879c521c04071ad1a32f5d3bbc0751be3479a5ba Mon Sep 17 00:00:00 2001 From: heyuanjie87 Date: Wed, 18 Sep 2024 11:19:48 +0800 Subject: [PATCH] =?UTF-8?q?[libcpu]=E4=BC=98=E5=8C=96rv=E6=9E=84=E5=BB=BA?= =?UTF-8?q?=E8=84=9A=E6=9C=AC=E4=B8=AD=E9=80=89=E6=8B=A9vendor=E7=9B=AE?= =?UTF-8?q?=E5=BD=95=E7=9A=84=E5=88=A4=E6=96=AD=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libcpu/risc-v/SConscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcpu/risc-v/SConscript b/libcpu/risc-v/SConscript index 0f3ce9f233b..851542e1a3d 100644 --- a/libcpu/risc-v/SConscript +++ b/libcpu/risc-v/SConscript @@ -17,7 +17,7 @@ else : group += SConscript(os.path.join('common', 'SConscript')) # cpu porting code files -if rtconfig.CPU == "c906": +if 'VENDOR' in vars(rtconfig) and rtconfig.VENDOR != '': group = group + SConscript(os.path.join(rtconfig.VENDOR, rtconfig.CPU, 'SConscript')) elif rtconfig.CPU in list: group = group + SConscript(os.path.join(rtconfig.CPU, 'SConscript'))