summaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/sja1105/Makefile
blob: 40d69e6c0bae61d518ccffc252314616dc484f8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# SPDX-License-Identifier: GPL-2.0-only
obj-$(CONFIG_NET_DSA_SJA1105) += sja1105.o

sja1105-objs := \
    sja1105_spi.o \
    sja1105_main.o \
    sja1105_mdio.o \
    sja1105_flower.o \
    sja1105_ethtool.o \
    sja1105_devlink.o \
    sja1105_clocking.o \
    sja1105_static_config.o \
    sja1105_dynamic_config.o \

ifdef CONFIG_NET_DSA_SJA1105_PTP
sja1105-objs += sja1105_ptp.o
endif

ifdef CONFIG_NET_DSA_SJA1105_TAS
sja1105-objs += sja1105_tas.o
endif

ifdef CONFIG_NET_DSA_SJA1105_VL
sja1105-objs += sja1105_vl.o
endif