15 lines
339 B
Python
15 lines
339 B
Python
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')
|