summaryrefslogtreecommitdiff
path: root/components/init/SConscript
blob: 97e1535240bb6503212243319ace6d9c1098f436 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Import('rtconfig')
from building import *

cwd = GetCurrentDir()
src = Glob('*.c')
CPPPATH = [cwd]
if rtconfig.CROSS_TOOL == 'keil':
    LINKFLAGS = ' --keep __rt_init* '
else:
    LINKFLAGS = '' 
    
group = DefineGroup('Components', src, depend = ['RT_USING_COMPONENTS_INIT'], CPPPATH = CPPPATH, LINKFLAGS = LINKFLAGS)

Return('group')