2016-04-24 19:34:41 +08:00
|
|
|
# RT-Thread building script for component
|
|
|
|
|
|
|
|
from building import *
|
|
|
|
|
|
|
|
cwd = GetCurrentDir()
|
|
|
|
src = Glob('*.c')
|
2017-11-11 13:51:56 +08:00
|
|
|
CPPPATH = [cwd]
|
2016-04-24 19:34:41 +08:00
|
|
|
|
2017-11-11 13:51:56 +08:00
|
|
|
group = DefineGroup('DriversUSBD', src, depend = ['RT_USING_USB_DEVICE'], CPPPATH = CPPPATH)
|
2016-04-24 19:34:41 +08:00
|
|
|
|
|
|
|
Return('group')
|