mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-06-22 00:53:13 +08:00
09b6099701
Signed-off-by: GuEe-GUI <2991707448@qq.com>
19 lines
334 B
Python
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')
|