diff options
| author | weety <[email protected]> | 2013-07-21 17:19:30 +0800 |
|---|---|---|
| committer | weety <[email protected]> | 2013-07-21 17:19:30 +0800 |
| commit | 3bdbf640b7bcdc40a2d5171b67e50f92bbd588f6 (patch) | |
| tree | 104ec0b9cf631b557e9bd09c309669887303c154 /bsp/at91sam9260/platform/SConscript | |
| parent | 885301bb14f34e840beb14ca2ee1b7b28012e294 (diff) | |
update at91sam9260 project directory structure.
Diffstat (limited to 'bsp/at91sam9260/platform/SConscript')
| -rw-r--r-- | bsp/at91sam9260/platform/SConscript | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/bsp/at91sam9260/platform/SConscript b/bsp/at91sam9260/platform/SConscript new file mode 100644 index 0000000000..1f5de6e772 --- /dev/null +++ b/bsp/at91sam9260/platform/SConscript @@ -0,0 +1,26 @@ +Import('RTT_ROOT') +Import('rtconfig') +from building import * + +cwd = GetCurrentDir() +CPPPATH = [cwd] + +# The set of source files associated with this SConscript file. +if rtconfig.PLATFORM == 'armcc': + src = Glob('*.c') + Glob('*_rvds.S') + +if rtconfig.PLATFORM == 'gcc': + src = Glob('*.c') + Glob('*_gcc.S') + Glob('*_init.S') + +if rtconfig.PLATFORM == 'iar': + src = Glob('*.c') + Glob('*_iar.S') + +if rtconfig.PLATFORM == 'cl': + src = Glob('*.c') + +if rtconfig.PLATFORM == 'mingw': + src = Glob('*.c') + +group = DefineGroup('platform', src, depend = [''], CPPPATH = CPPPATH) + +Return('group') |
