summaryrefslogtreecommitdiff
path: root/bsp/fujitsu/mb9x/mb9bf500r/CMSIS/SConscript
blob: f4c66fdaf356fbeb615386133c275c093172ede4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Import('RTT_ROOT')
Import('rtconfig')
from building import *

src = Glob('*.c')

# add for startup script
if rtconfig.PLATFORM in ['gcc']:
    src = src + ['start_gcc.S']
elif rtconfig.PLATFORM in ['armcc', 'armclang']:
    src = src + ['start_rvds.S']
elif rtconfig.PLATFORM in ['iccarm']:
    src = src + ['start_iar.S']

CPPPATH = [GetCurrentDir()]

group = DefineGroup('CMSIS', src, depend = [''], CPPPATH = CPPPATH, LIBRARY = '')

Return('group')