diff options
| author | bernard.xiong <[email protected]> | 2009-10-22 09:44:08 +0000 |
|---|---|---|
| committer | bernard.xiong <[email protected]> | 2009-10-22 09:44:08 +0000 |
| commit | 2f55ad6e8925ece3c7534d105f26974fc7f8c7c2 (patch) | |
| tree | bb45f1ac660a1f2e323886e7363641e1e13e996a /libcpu/SConscript | |
| parent | a8065da962e48cb2772289afc781cf68337637be (diff) | |
move more options to rtconfig.py
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@120 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'libcpu/SConscript')
| -rw-r--r-- | libcpu/SConscript | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libcpu/SConscript b/libcpu/SConscript index a9b1eca794..298af2941b 100644 --- a/libcpu/SConscript +++ b/libcpu/SConscript @@ -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])
|
