summaryrefslogtreecommitdiff
path: root/components/drivers/phye/SConscript
diff options
context:
space:
mode:
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')