mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-11-14 16:02:37 +08:00
add STM32 gcc version. apply scons build system.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@99 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
1 parent
3c246ff153
commit
0be4d1d5dd
4 files changed
+675
No files matched your search
@@ -0,0 +1,15 @@
|
||||
Import('env')
|
||||
Import('rtconfig')
|
||||
|
||||
comm = rtconfig.ARCH + '/common'
|
||||
path = rtconfig.ARCH + '/' + rtconfig.CPU
|
||||
|
||||
# The set of source files associated with this SConscript file.
|
||||
if rtconfig.CC == 'armcc':
|
||||
src_local = Glob(path + '/*.c') + Glob(path + '/*_rvds.s') + Glob(comm + '/*.c')
|
||||
|
||||
if rtconfig.CC == 'gcc':
|
||||
src_local = Glob(path + '/*.c') + Glob(path + '/*_gcc.s') + Glob(comm + '/*.c')
|
||||
|
||||
obj = env.Object(src_local)
|
||||
Return('obj')
|
||||
Reference in new issue
Block a user