Files
rt-thread/components/drivers/phye/SConscript
GuEe-GUI 09b6099701 [DM/PHYE] Support USB generic PHYE.
Signed-off-by: GuEe-GUI <2991707448@qq.com>
2025-12-08 17:00:08 +08:00

19 lines
334 B
Python

from building import *
group = []
if not GetDepend(['RT_USING_PHYE']):
Return('group')
cwd = GetCurrentDir()
CPPPATH = [cwd + '/../include']
src = ['phye.c']
if GetDepend(['RT_PHYE_GENERIC_USB']):
src += ['phye-generic-usb.c']
group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH)
Return('group')