Skip to content

Commit

Permalink
phy
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuzhuzhus committed Sep 30, 2024
1 parent 5322bb4 commit 8ae08a8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion components/drivers/phy/SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ from building import *

cwd = GetCurrentDir()
src = Glob('*.c')
CPPPATH = [cwd + '/../include']
if GetDepend('RT_USING_OFW') == False:
SrcRemove(src, ['ofw.c'])
CPPPATH = [cwd,cwd + '/../include']
group = DefineGroup('DeviceDrivers', src, depend = ['RT_USING_PHY'], CPPPATH = CPPPATH)

Return('group')

0 comments on commit 8ae08a8

Please sign in to comment.