Skip to content

Commit 400a1e8

Browse files
committed
scons: update rt-thread scons script
Signed-off-by: Huaqi Fang <[email protected]>
1 parent 2f54ead commit 400a1e8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

SConscript

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,8 @@ build_download_mode_upper = build_download_mode.upper()
113113

114114
src = Glob(SoC_Common + '/Source/*.c')
115115
src += Glob(SoC_Common + '/Source/Drivers/*.c')
116-
src += Glob(SoC_Common + '/Source/Drivers/Usb/*.c')
116+
if build_soc == "gd32vf103":
117+
src += Glob(SoC_Common + '/Source/Drivers/Usb/*.c')
117118
src += Glob(SoC_Common + '/Source/Stubs/newlib/*.c')
118119
src += Glob(SoC_Common + '/Source/GCC/*.S')
119120

0 commit comments

Comments
 (0)