diff options
| author | [email protected] <[email protected]> | 2012-10-11 17:06:30 +0000 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2012-10-11 17:06:30 +0000 |
| commit | c752d9b09510b62e4ecc76f4fd0343eeba5c1358 (patch) | |
| tree | a2dc012f19925f765441dec1442f0a1745100f90 /components/drivers/usb/usbdevice/SConscript | |
| parent | 051fd8eca9fb3714cafe927d093d9348b31c39a1 (diff) | |
submit the first version usb device stack.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2344 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components/drivers/usb/usbdevice/SConscript')
| -rw-r--r-- | components/drivers/usb/usbdevice/SConscript | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/components/drivers/usb/usbdevice/SConscript b/components/drivers/usb/usbdevice/SConscript new file mode 100644 index 0000000000..75d651f902 --- /dev/null +++ b/components/drivers/usb/usbdevice/SConscript @@ -0,0 +1,15 @@ +Import('RTT_ROOT')
+from building import *
+
+cwd = GetCurrentDir()
+src = Split("""
+core/core.c
+core/usbdevice.c
+class/cdc_vcom.c
+""")
+
+CPPPATH = [cwd]
+
+group = DefineGroup('DeviceDrivers', src, depend = ['RT_USING_USB_DEVICE'], CPPPATH = CPPPATH)
+
+Return('group')
|
