14 lines
244 B
Python
14 lines
244 B
Python
# RT-Thread building script for component
|
|
|
|
from building import *
|
|
|
|
cwd = GetCurrentDir()
|
|
|
|
src = Glob('src/*.c')
|
|
|
|
CPPPATH = [cwd + '/include']
|
|
|
|
group = DefineGroup('Netdev', src, depend = ['RT_USING_NETDEV'], CPPPATH = CPPPATH)
|
|
|
|
Return('group')
|