2010-06-26 10:50:27 +08:00
|
|
|
Import('RTT_ROOT')
|
2010-11-20 20:31:00 +08:00
|
|
|
from building import *
|
2010-06-26 10:50:27 +08:00
|
|
|
|
2011-11-23 06:28:51 +08:00
|
|
|
cwd = GetCurrentDir()
|
2010-11-20 20:31:00 +08:00
|
|
|
src = Glob('*.c')
|
2011-11-23 06:28:51 +08:00
|
|
|
CPPPATH = [cwd]
|
2010-11-20 20:31:00 +08:00
|
|
|
group = DefineGroup('USB', src, depend = ['RT_USING_USB_DEVICE'], CPPPATH = CPPPATH)
|
2010-06-26 10:50:27 +08:00
|
|
|
|
2010-11-20 20:31:00 +08:00
|
|
|
Return('group')
|