xref: /openbmc/linux/drivers/net/ethernet/mscc/Makefile (revision 6505b680)
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 \
528c8df8dSVladimir Oltean	ocelot_devlink.o \
628c8df8dSVladimir Oltean	ocelot_flower.o \
7f4d0323bSVladimir Oltean	ocelot_io.o \
8*6505b680SVladimir Oltean	ocelot_mm.o \
9f4d0323bSVladimir Oltean	ocelot_police.o \
10a4ae997aSVladimir Oltean	ocelot_ptp.o \
11fe90104cSVladimir Oltean	ocelot_stats.o \
1228c8df8dSVladimir Oltean	ocelot_vcap.o \
1332ecd22bSColin Foster	vsc7514_regs.o
14d8ea7ff3SHoratiu Vulturmscc_ocelot_switch_lib-$(CONFIG_BRIDGE_MRP) += ocelot_mrp.o
1514addfb6SVladimir Olteanobj-$(CONFIG_MSCC_OCELOT_SWITCH) += mscc_ocelot.o
169c90eea3SVladimir Olteanmscc_ocelot-y := \
17753a026cSClément Léger	ocelot_fdma.o \
1828c8df8dSVladimir Oltean	ocelot_net.o \
1928c8df8dSVladimir Oltean	ocelot_vsc7514.o
20