diff options
| author | bernard.xiong <[email protected]> | 2010-03-24 05:16:28 +0000 |
|---|---|---|
| committer | bernard.xiong <[email protected]> | 2010-03-24 05:16:28 +0000 |
| commit | 1886174d46c80444e4d34b156ed87237363d8f1f (patch) | |
| tree | 08e2916e266321787cb75a7661f49ffdb230166a /libcpu | |
| parent | 3a7209961254ce30d0e63da53ba39d345a11dee8 (diff) | |
change file name for compiling under Linux
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@531 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'libcpu')
| -rw-r--r-- | libcpu/SConscript | 42 | ||||
| -rw-r--r-- | libcpu/arm/lm3s/start_gcc.S (renamed from libcpu/arm/lm3s/start_gcc.s) | 0 | ||||
| -rw-r--r-- | libcpu/arm/lpc214x/context_rvds.S (renamed from libcpu/arm/lpc214x/context_rvds.s) | 0 | ||||
| -rw-r--r-- | libcpu/arm/lpc214x/start_rvds.S (renamed from libcpu/arm/lpc214x/start_rvds.s) | 0 | ||||
| -rw-r--r-- | libcpu/arm/lpc24xx/context_rvds.S (renamed from libcpu/arm/lpc24xx/context_rvds.s) | 0 | ||||
| -rw-r--r-- | libcpu/arm/lpc24xx/start_rvds.S (renamed from libcpu/arm/lpc24xx/start_rvds.s) | 0 | ||||
| -rw-r--r-- | libcpu/arm/s3c24x0/context_rvds.S (renamed from libcpu/arm/s3c24x0/context_rvds.s) | 0 | ||||
| -rw-r--r-- | libcpu/arm/s3c24x0/start_gcc.S (renamed from libcpu/arm/s3c24x0/start_gcc.s) | 0 | ||||
| -rw-r--r-- | libcpu/arm/s3c24x0/start_rvds.S (renamed from libcpu/arm/s3c24x0/start_rvds.s) | 0 | ||||
| -rw-r--r-- | libcpu/arm/s3c44b0/context_rvds.S (renamed from libcpu/arm/s3c44b0/context_rvds.s) | 0 | ||||
| -rw-r--r-- | libcpu/arm/s3c44b0/start_rvds.S (renamed from libcpu/arm/s3c44b0/start_rvds.s) | 0 | ||||
| -rw-r--r-- | libcpu/arm/stm32/start_gcc.S (renamed from libcpu/arm/stm32/start_gcc.s) | 0 | ||||
| -rw-r--r-- | libcpu/arm/stm32/start_iar.S (renamed from libcpu/arm/stm32/start_iar.s) | 0 | ||||
| -rw-r--r-- | libcpu/arm/stm32/start_rvds.S (renamed from libcpu/arm/stm32/start_rvds.s) | 0 |
14 files changed, 21 insertions, 21 deletions
diff --git a/libcpu/SConscript b/libcpu/SConscript index 7ac8e79e53..d295c7d2ae 100644 --- a/libcpu/SConscript +++ b/libcpu/SConscript @@ -1,21 +1,21 @@ -Import('env')
-Import('rtconfig')
-Import('RTT_ROOT')
-
-comm = rtconfig.ARCH + '/common'
-path = rtconfig.ARCH + '/' + rtconfig.CPU
-
-# The set of source files associated with this SConscript file.
-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') + Glob(path + '/*_init.S')
-
-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])
-obj = env.Object(src_local)
-
-Return('obj')
+Import('env') +Import('rtconfig') +Import('RTT_ROOT') + +comm = rtconfig.ARCH + '/common' +path = rtconfig.ARCH + '/' + rtconfig.CPU + +# The set of source files associated with this SConscript file. +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') + Glob(path + '/*_init.S') + +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]) +obj = env.Object(src_local) + +Return('obj') diff --git a/libcpu/arm/lm3s/start_gcc.s b/libcpu/arm/lm3s/start_gcc.S index 1d1b8e558d..1d1b8e558d 100644 --- a/libcpu/arm/lm3s/start_gcc.s +++ b/libcpu/arm/lm3s/start_gcc.S diff --git a/libcpu/arm/lpc214x/context_rvds.s b/libcpu/arm/lpc214x/context_rvds.S index 82c5adc574..82c5adc574 100644 --- a/libcpu/arm/lpc214x/context_rvds.s +++ b/libcpu/arm/lpc214x/context_rvds.S diff --git a/libcpu/arm/lpc214x/start_rvds.s b/libcpu/arm/lpc214x/start_rvds.S index 9d603a4709..9d603a4709 100644 --- a/libcpu/arm/lpc214x/start_rvds.s +++ b/libcpu/arm/lpc214x/start_rvds.S diff --git a/libcpu/arm/lpc24xx/context_rvds.s b/libcpu/arm/lpc24xx/context_rvds.S index 82c5adc574..82c5adc574 100644 --- a/libcpu/arm/lpc24xx/context_rvds.s +++ b/libcpu/arm/lpc24xx/context_rvds.S diff --git a/libcpu/arm/lpc24xx/start_rvds.s b/libcpu/arm/lpc24xx/start_rvds.S index a5b9de7d47..a5b9de7d47 100644 --- a/libcpu/arm/lpc24xx/start_rvds.s +++ b/libcpu/arm/lpc24xx/start_rvds.S diff --git a/libcpu/arm/s3c24x0/context_rvds.s b/libcpu/arm/s3c24x0/context_rvds.S index 82c5adc574..82c5adc574 100644 --- a/libcpu/arm/s3c24x0/context_rvds.s +++ b/libcpu/arm/s3c24x0/context_rvds.S diff --git a/libcpu/arm/s3c24x0/start_gcc.s b/libcpu/arm/s3c24x0/start_gcc.S index ef7f269d6b..ef7f269d6b 100644 --- a/libcpu/arm/s3c24x0/start_gcc.s +++ b/libcpu/arm/s3c24x0/start_gcc.S diff --git a/libcpu/arm/s3c24x0/start_rvds.s b/libcpu/arm/s3c24x0/start_rvds.S index d857f0cbcc..d857f0cbcc 100644 --- a/libcpu/arm/s3c24x0/start_rvds.s +++ b/libcpu/arm/s3c24x0/start_rvds.S diff --git a/libcpu/arm/s3c44b0/context_rvds.s b/libcpu/arm/s3c44b0/context_rvds.S index 82c5adc574..82c5adc574 100644 --- a/libcpu/arm/s3c44b0/context_rvds.s +++ b/libcpu/arm/s3c44b0/context_rvds.S diff --git a/libcpu/arm/s3c44b0/start_rvds.s b/libcpu/arm/s3c44b0/start_rvds.S index 3154bf3751..3154bf3751 100644 --- a/libcpu/arm/s3c44b0/start_rvds.s +++ b/libcpu/arm/s3c44b0/start_rvds.S diff --git a/libcpu/arm/stm32/start_gcc.s b/libcpu/arm/stm32/start_gcc.S index 04e46bbc27..04e46bbc27 100644 --- a/libcpu/arm/stm32/start_gcc.s +++ b/libcpu/arm/stm32/start_gcc.S diff --git a/libcpu/arm/stm32/start_iar.s b/libcpu/arm/stm32/start_iar.S index 1b92526096..1b92526096 100644 --- a/libcpu/arm/stm32/start_iar.s +++ b/libcpu/arm/stm32/start_iar.S diff --git a/libcpu/arm/stm32/start_rvds.s b/libcpu/arm/stm32/start_rvds.S index f3ebbc2537..f3ebbc2537 100644 --- a/libcpu/arm/stm32/start_rvds.s +++ b/libcpu/arm/stm32/start_rvds.S |
