blob: 7050636833a8ec8ecf1a47421b1bc445b4f30dd4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
from building import *
group = []
if not GetDepend(['RT_ETHERNET_CADENCE']):
Return('group')
cwd = GetCurrentDir()
CPPPATH = [cwd + '/../../include', cwd + '/../../phy']
src = ['macb.c']
if GetDepend(['RT_ETHERNET_CADENCE_PCI']):
src += ['macb_pci.c']
if GetDepend(['RT_ETHERNET_CADENCE_PTP']):
src += ['macb_ptp.c']
group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH)
Return('group')
|