4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-31 02:10:25 +08:00
rt-thread-official/src/SConscript
bernard.xiong 99bfaf72d9 modify building script for components.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@642 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-18 22:16:50 +00:00

24 lines
504 B
Python

Import('env')
Import('RTT_ROOT')
Import('projects')
# The set of source files associated with this SConscript file.
src_local = Glob('*.c')
# 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'])
Return('obj')