add SEP4020 porting directory.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@775 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
bernard.xiong@gmail.com 2010-06-26 02:50:27 +00:00
parent bcb3f44542
commit 77b375741e
1 changed files with 26 additions and 0 deletions

26
components/usb/SConscript Normal file
View File

@ -0,0 +1,26 @@
Import('env')
Import('projects')
Import('RTT_ROOT')
Import('rtconfig')
# group definitions
group = {}
group['name'] = 'USB'
group['src'] = Glob('*.c')
group['CCFLAGS'] = ''
group['CPPPATH'] = [RTT_ROOT + '/components/usb']
group['CPPDEFINES'] = ''
group['LINKFLAGS'] = ''
group['DEPEND'] = 'RT_USING_USB'
# 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')