diff options
| author | [email protected] <[email protected]> | 2012-06-26 06:41:59 +0000 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2012-06-26 06:41:59 +0000 |
| commit | bb529858fe3b8f0722bd060e054523ee9441f685 (patch) | |
| tree | e1bea42120cc1cbe2e8efac94b177d974a6b2313 /bsp/m16c62p/drivers/SConscript | |
| parent | f1e6f2f6ca6033cca9487ba8af9b6663f0f74fb3 (diff) | |
update the m16c62p project
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2187 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'bsp/m16c62p/drivers/SConscript')
| -rw-r--r-- | bsp/m16c62p/drivers/SConscript | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/bsp/m16c62p/drivers/SConscript b/bsp/m16c62p/drivers/SConscript new file mode 100644 index 0000000000..4844cf24a4 --- /dev/null +++ b/bsp/m16c62p/drivers/SConscript @@ -0,0 +1,19 @@ +from building import *
+import rtconfig
+
+cwd = GetCurrentDir()
+src_c = Glob('*.c')
+
+# add for startup script
+if rtconfig.CROSS_TOOL == 'gcc':
+ src_asm = ['start_gcc.S', 'vectors_gcc.S', 'interrupts_gcc.S']
+elif rtconfig.CROSS_TOOL == 'iar':
+ src_asm = ['start_iar.asm', 'vectors_iar.asm', 'interrupts_iar.asm']
+
+src = File(src_c + src_asm)
+
+CPPPATH = [cwd]
+
+group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH)
+
+Return('group')
|
