summaryrefslogtreecommitdiff
path: root/components/drivers/phye/SConscript
diff options
context:
space:
mode:
authorGuEe-GUI <[email protected]>2025-12-01 17:09:08 +0800
committerR b b666 <[email protected]>2025-12-08 17:00:08 +0800
commit09b60997010985419be7a3e97d25114e86a2e7a2 (patch)
treeb9914a774d304ece6d3a5aab450159527bafcc9c /components/drivers/phye/SConscript
parentf7b3a8fedd26eabda69ea55cb8577833d89a4f70 (diff)
[DM/PHYE] Support USB generic PHYE.
Signed-off-by: GuEe-GUI <[email protected]>
Diffstat (limited to 'components/drivers/phye/SConscript')
-rw-r--r--components/drivers/phye/SConscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/components/drivers/phye/SConscript b/components/drivers/phye/SConscript
index 23deafed7c..5c5fbb08e6 100644
--- a/components/drivers/phye/SConscript
+++ b/components/drivers/phye/SConscript
@@ -10,6 +10,9 @@ 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')