File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 11Import ('rtconfig' )
22from building import *
33
4+ src = Glob ('*.c' )
45comm = 'libcpu/' + rtconfig .ARCH
56if (rtconfig .CPU == 'cortex-m4' ) or (rtconfig .CPU == 'cortex-m3' ):
67 comm = 'libcpu/cortexm'
78
89cwd = GetCurrentDir ()
910if rtconfig .PLATFORM == 'armcc' :
10- src = Glob ( '*.c' ) + Glob (comm + '/*.c' ) + Glob (comm + '/*_rvds.S' )
11+ src = src + Glob (comm + '/*.c' ) + Glob (comm + '/*_rvds.S' )
1112
1213if rtconfig .PLATFORM == 'gcc' :
13- src = Glob ( '*.c' ) + Glob (comm + '/*.c' ) + Glob (comm + '/*_gcc.S' )
14+ src = src + Glob (comm + '/*.c' ) + Glob (comm + '/*_gcc.S' )
1415
1516if rtconfig .PLATFORM == 'iar' :
16- src = Glob ('*.c' ) + Glob (comm + '/*.c' ) + Glob (comm + '/*_iar.S' )
17-
17+ src = src + Glob (comm + '/*.c' ) + Glob (comm + '/*_iar.S' )
1818
1919CPPPATH = [cwd , cwd + '/' + comm ]
2020
You can’t perform that action at this time.
0 commit comments