summaryrefslogtreecommitdiff
path: root/components/drivers/phye/SConscript
diff options
context:
space:
mode:
authorGUI <[email protected]>2024-11-25 10:23:01 +0800
committerGitHub <[email protected]>2024-11-25 10:23:01 +0800
commitc2545cdd7bbfb1797aeacf3f7f74420bf7716877 (patch)
tree57b2fef4ca6904577d508387e42012d2a29c9f26 /components/drivers/phye/SConscript
parent8b4d1c0c5d26beb55fd25b53489dcfe74e8aa6d6 (diff)
[DM/FEATURE] Support PHY (external) (#9597)
This framework will be of use only to devices that use external PHY (PHY functionality is not embedded within the controller). Use in PCIE, USB, HDMI, DP... Signed-off-by: GuEe-GUI <[email protected]>
Diffstat (limited to 'components/drivers/phye/SConscript')
-rw-r--r--components/drivers/phye/SConscript15
1 files changed, 15 insertions, 0 deletions
diff --git a/components/drivers/phye/SConscript b/components/drivers/phye/SConscript
new file mode 100644
index 0000000000..23deafed7c
--- /dev/null
+++ b/components/drivers/phye/SConscript
@@ -0,0 +1,15 @@
+from building import *
+
+group = []
+
+if not GetDepend(['RT_USING_PHYE']):
+ Return('group')
+
+cwd = GetCurrentDir()
+CPPPATH = [cwd + '/../include']
+
+src = ['phye.c']
+
+group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH)
+
+Return('group')