summaryrefslogtreecommitdiff
path: root/bsp/raspberry-pi/dm/phy/SConscript
blob: a184e201fe75b2a926cc8c0f347ded475d590536 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
from building import *

group = []
src = []
cwd = GetCurrentDir()
CPPPATH = [cwd + '/../include']

if GetDepend(['RT_PHY_BCM54213']):
    src += ['phy-bcm54213.c']

if GetDepend(['RT_PHY_MDIO_BCM_UNIMAC']):
    src += ['mdio-bcm-unimac.c']

group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH)

Return('group')