mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-24 17:17:23 +08:00
c9db6ed151
* [bsp/nuvoton] Support NuMaker-M467HJ BSP and update drivers. * Format files. Co-authored-by: Wayne Lin <wclin@nuvoton.com>
13 lines
331 B
Python
13 lines
331 B
Python
# RT-Thread building script for component
|
|
|
|
from building import *
|
|
|
|
cwd = GetCurrentDir()
|
|
group = []
|
|
if GetDepend('BSP_USING_HSUSBH') or GetDepend('BSP_USING_USBH'):
|
|
src = Glob('*src/*.c') + Glob('src/*.cpp')
|
|
CPPPATH = [cwd + '/inc']
|
|
group = DefineGroup('m460_usbhostlib', src, depend = [''], CPPPATH = CPPPATH)
|
|
|
|
Return('group')
|