mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-02-06 00:45:22 +08:00
move more options to rtconfig.py
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@120 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
@@ -6,13 +6,13 @@ comm = rtconfig.ARCH + '/common'
|
||||
path = rtconfig.ARCH + '/' + rtconfig.CPU
|
||||
|
||||
# The set of source files associated with this SConscript file.
|
||||
if rtconfig.CC == 'armcc':
|
||||
if rtconfig.PLATFORM == 'armcc':
|
||||
src_local = Glob(path + '/*.c') + Glob(path + '/*_rvds.s') + Glob(comm + '/*.c')
|
||||
|
||||
if rtconfig.CC == 'gcc':
|
||||
if rtconfig.PLATFORM == 'gcc':
|
||||
src_local = Glob(path + '/*.c') + Glob(path + '/*_gcc.s') + Glob(comm + '/*.c')
|
||||
|
||||
if rtconfig.CC == 'iar':
|
||||
if rtconfig.PLATFORM == 'iar':
|
||||
src_local = Glob(path + '/*.c') + Glob(path + '/*_iar.s') + Glob(comm + '/*.c')
|
||||
|
||||
env.Append(CPPPATH = [RTT_ROOT + '/libcpu/' + rtconfig.ARCH + '/' + rtconfig.CPU])
|
||||
|
||||
Reference in New Issue
Block a user