diff --git a/libcpu/SConscript b/libcpu/SConscript index 298af2941b..7ac8e79e53 100644 --- a/libcpu/SConscript +++ b/libcpu/SConscript @@ -10,7 +10,7 @@ if rtconfig.PLATFORM == 'armcc': src_local = Glob(path + '/*.c') + Glob(path + '/*_rvds.s') + Glob(comm + '/*.c') if rtconfig.PLATFORM == 'gcc': - src_local = Glob(path + '/*.c') + Glob(path + '/*_gcc.s') + Glob(comm + '/*.c') + src_local = Glob(path + '/*.c') + Glob(path + '/*_gcc.s') + Glob(comm + '/*.c') + Glob(path + '/*_init.S') if rtconfig.PLATFORM == 'iar': src_local = Glob(path + '/*.c') + Glob(path + '/*_iar.s') + Glob(comm + '/*.c')