2020-10-12 18:15:01 +08:00
|
|
|
from building import *
|
|
|
|
|
|
|
|
cwd = GetCurrentDir()
|
2023-01-09 10:14:23 +08:00
|
|
|
src = Glob('*.c')
|
2024-09-30 10:35:36 +08:00
|
|
|
if GetDepend('RT_USING_OFW') == False:
|
|
|
|
SrcRemove(src, ['ofw.c'])
|
|
|
|
CPPPATH = [cwd,cwd + '/../include']
|
2020-10-12 18:15:01 +08:00
|
|
|
group = DefineGroup('DeviceDrivers', src, depend = ['RT_USING_PHY'], CPPPATH = CPPPATH)
|
|
|
|
|
|
|
|
Return('group')
|