# RT-Thread building script for componentfrombuildingimport*Import('rtconfig')cwd=GetCurrentDir()src=Glob('*.c')+Glob('*.cpp')CPPPATH=[cwd]ifrtconfig.PLATFORM=='armcc':src+=Glob('*_rvds.S')ifrtconfig.PLATFORM=='gcc':src+=Glob('*_init.S')src+=Glob('*_gcc.S')ifrtconfig.PLATFORM=='iar':src+=Glob('*_iar.S')