17 lines
328 B
Python
17 lines
328 B
Python
import rtconfig
|
|
from building import *
|
|
|
|
cwd = GetCurrentDir()
|
|
CPPPATH = [cwd, str(Dir('#'))]
|
|
|
|
src = []
|
|
if GetDepend(['RT_USING_LWIP']):
|
|
src += Split('''
|
|
drv_wifi.c
|
|
drv_wlan.c
|
|
''')
|
|
|
|
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH)
|
|
|
|
Return('group')
|