4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-16 09:59:24 +08:00
qiuyiuestc b2fb4be811 add initial libdl
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1052 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-17 15:41:10 +00:00

27 lines
606 B
Python

Import('env')
Import('projects')
Import('RTT_ROOT')
Import('rtconfig')
# group definitions
group = {}
group['name'] = 'libdl'
group['src'] = Glob('*.c')
group['depend'] = 'RT_USING_LIBDL'
group['CCFLAGS'] = ''
group['CPPPATH'] = [RTT_ROOT + '/components/libdl']
group['CPPDEFINES'] = ''
group['LINKFLAGS'] = ''
# add group to project list
projects.append(group)
env.Append(CCFLAGS = group['CCFLAGS'])
env.Append(CPPPATH = group['CPPPATH'])
env.Append(CPPDEFINES = group['CPPDEFINES'])
env.Append(LINKFLAGS = group['LINKFLAGS'])
objs = env.Object(group['src'])
Return('objs')