13 lines
299 B
Python
13 lines
299 B
Python
|
# RT-Thread building script for component
|
||
|
|
||
|
from building import *
|
||
|
|
||
|
cwd = GetCurrentDir()
|
||
|
group = []
|
||
|
if GetDepend('BSP_USING_USBH'):
|
||
|
src = Glob('*src/*.c') + Glob('src/*.cpp')
|
||
|
CPPPATH = [cwd + '/inc']
|
||
|
group = DefineGroup('m2354_usbhostlib', src, depend = [''], CPPPATH = CPPPATH)
|
||
|
|
||
|
Return('group')
|