2019-04-16 18:24:55 +08:00
|
|
|
# RT-Thread building script for component
|
|
|
|
|
|
|
|
from building import *
|
|
|
|
|
|
|
|
cwd = GetCurrentDir()
|
|
|
|
|
|
|
|
src = Glob('src/*.c')
|
|
|
|
|
|
|
|
CPPPATH = [cwd + '/include']
|
|
|
|
|
2020-11-30 15:45:58 +08:00
|
|
|
group = DefineGroup('NetDev', src, depend = ['RT_USING_NETDEV'], CPPPATH = CPPPATH)
|
2019-04-16 18:24:55 +08:00
|
|
|
|
|
|
|
Return('group')
|