rt-thread-official/components/drivers/phy/SConscript

11 lines
278 B
Python

from building import *
cwd = GetCurrentDir()
src = Glob('*.c')
if GetDepend('RT_USING_OFW') == False:
SrcRemove(src, ['ofw.c'])
CPPPATH = [cwd,cwd + '/../include']
group = DefineGroup('DeviceDrivers', src, depend = ['RT_USING_PHY'], CPPPATH = CPPPATH)
Return('group')