rtt-f030/components/init/SConscript

14 lines
320 B
Python
Raw Normal View History

from building import *
cwd = GetCurrentDir()
src = Glob('*.c')
CPPPATH = [cwd]
2013-06-23 23:42:27 +08:00
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')