summaryrefslogtreecommitdiff
path: root/components/usb
diff options
context:
space:
mode:
author[email protected] <[email protected]>2010-06-26 02:50:27 +0000
committer[email protected] <[email protected]>2010-06-26 02:50:27 +0000
commit77b375741e95d31c11609bf7fdc8c16fa88733ec (patch)
treeeddb780fa049c336de7a0f972e95b38fd66b179a /components/usb
parentbcb3f445427ed1094049926c920cc05e79dadbe7 (diff)
add SEP4020 porting directory.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@775 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components/usb')
-rw-r--r--components/usb/SConscript26
1 files changed, 26 insertions, 0 deletions
diff --git a/components/usb/SConscript b/components/usb/SConscript
new file mode 100644
index 0000000000..0acf9f2305
--- /dev/null
+++ b/components/usb/SConscript
@@ -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')