# RT-Thread building script for componentImport('rtconfig')Import('RTT_ROOT')frombuildingimport*cwd=GetCurrentDir()src=Glob('peri_driver/*/*.c')src+=Glob('common/board/*.c')src+=Glob('common/chip/*.c')# add for startup script ifrtconfig.CROSS_TOOL=='gcc':