diff options
Diffstat (limited to 'components/drivers/phy/SConscript')
| -rw-r--r-- | components/drivers/phy/SConscript | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/components/drivers/phy/SConscript b/components/drivers/phy/SConscript index 5b6effc98a..ec59a7aff6 100644 --- a/components/drivers/phy/SConscript +++ b/components/drivers/phy/SConscript @@ -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') |
