Import('env')
Import('RTT_ROOT')
Import('projects')

# The set of source files associated with this SConscript file.
src_local = Glob(RTT_ROOT + '/rt-thread/kernel/*.c')

# group definitions
group = {}
group['name'] = 'Kernel'
group['src'] = File(src_local)
group['CCFLAGS'] = ''
group['CPPPATH'] = [RTT_ROOT + '/rt-thread/include']
group['CPPDEFINES'] = ''
group['LINKFLAGS'] = ''

# add group to project list
projects.append(group)

env.Append(CPPPATH = group['CPPPATH'])
obj = env.Object(group['src'])

Return('obj')
