summaryrefslogtreecommitdiff
path: root/components/init/SConscript
blob: c3ce75088d348367ee831d1ee1014231855dc65e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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')