4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-22 00:29:20 +08:00

15 lines
287 B
Python
Raw Normal View History

2021-05-12 19:15:17 +08:00
# RT-Thread building script for component
Import('RTT_ROOT')
from building import *
cwd = GetCurrentDir()
src = Glob('*.c') + Glob('*.cpp')
CPPPATH = [cwd]
group = []
# USB driver constrain
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH)
Return('group')