xref: /openbmc/linux/drivers/net/ethernet/mscc/Makefile (revision 28c8df8d)
1a556c76aSAlexandre Belloni# SPDX-License-Identifier: (GPL-2.0 OR MIT)
2f4d0323bSVladimir Olteanobj-$(CONFIG_MSCC_OCELOT_SWITCH_LIB) += mscc_ocelot_switch_lib.o
3f4d0323bSVladimir Olteanmscc_ocelot_switch_lib-y := \
4f4d0323bSVladimir Oltean	ocelot.o \
5*28c8df8dSVladimir Oltean	ocelot_devlink.o \
6*28c8df8dSVladimir Oltean	ocelot_flower.o \
7f4d0323bSVladimir Oltean	ocelot_io.o \
8f4d0323bSVladimir Oltean	ocelot_police.o \
9a4ae997aSVladimir Oltean	ocelot_ptp.o \
10*28c8df8dSVladimir Oltean	ocelot_vcap.o \
1132ecd22bSColin Foster	vsc7514_regs.o
12d8ea7ff3SHoratiu Vulturmscc_ocelot_switch_lib-$(CONFIG_BRIDGE_MRP) += ocelot_mrp.o
1314addfb6SVladimir Olteanobj-$(CONFIG_MSCC_OCELOT_SWITCH) += mscc_ocelot.o
149c90eea3SVladimir Olteanmscc_ocelot-y := \
15753a026cSClément Léger	ocelot_fdma.o \
16*28c8df8dSVladimir Oltean	ocelot_net.o \
17*28c8df8dSVladimir Oltean	ocelot_vsc7514.o
18