@@ -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')
@@ -1,10 +0,0 @@
-from building import *
-
-cwd = GetCurrentDir()
-src = Glob('*.c')
-CPPPATH = [cwd]
-group = DefineGroup('ofw', src, depend = ['RT_USING_OFW'], CPPPATH = CPPPATH)
-Return('group')