summaryrefslogtreecommitdiff
path: root/bsp/rockchip/dm/ethernet/SConscript
blob: 2d6d227833ab82fcb9fde4a371fe9423b19124a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
from building import *

group = []
src = []
cwd = GetCurrentDir()
CPPPATH = [cwd + '/../include',
           cwd + '/../../../../components/drivers/ethernet/synopsys']

if GetDepend(['RT_ETHERNET_DWMAC_ROCKCHIP']):
    src += ['dwmac-rockchip.c']

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

Return('group')