2009-10-14 17:47:48 +08:00
|
|
|
Import('env')
|
2009-10-22 07:50:25 +08:00
|
|
|
Import('RTT_ROOT')
|
2010-04-19 06:16:50 +08:00
|
|
|
Import('projects')
|
2009-10-14 17:47:48 +08:00
|
|
|
|
|
|
|
# The set of source files associated with this SConscript file.
|
|
|
|
src_local = Glob('*.c')
|
|
|
|
|
2010-04-19 06:16:50 +08:00
|
|
|
# group definitions
|
|
|
|
group = {}
|
|
|
|
group['name'] = 'Kernel'
|
|
|
|
group['src'] = File(src_local)
|
|
|
|
group['CCFLAGS'] = ''
|
|
|
|
group['CPPPATH'] = [RTT_ROOT + '/include']
|
|
|
|
group['CPPDEFINES'] = ''
|
|
|
|
group['LINKFLAGS'] = ''
|
|
|
|
|
|
|
|
# add group to project list
|
|
|
|
projects.append(group)
|
|
|
|
|
|
|
|
env.Append(CPPPATH = group['CPPPATH'])
|
|
|
|
obj = env.Object(group['src'])
|
2009-10-22 07:50:25 +08:00
|
|
|
|
2009-10-14 17:47:48 +08:00
|
|
|
Return('obj')
|