You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
420 B
22 lines
420 B
from building import *
|
|
|
|
group = []
|
|
|
|
if not GetDepend(['RT_USING_WDT']):
|
|
Return('group')
|
|
|
|
cwd = GetCurrentDir()
|
|
list = os.listdir(cwd)
|
|
CPPPATH = [cwd + '/../include']
|
|
|
|
src = ['dev_watchdog.c']
|
|
|
|
if GetDepend(['RT_WDT_DW']):
|
|
src += ['watchdog-dw.c']
|
|
|
|
if GetDepend(['RT_WDT_I6300ESB']):
|
|
src += ['watchdog-i6300esb.c']
|
|
|
|
group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH)
|
|
|
|
Return('group')
|
|
|