xref: /openbmc/linux/drivers/net/ethernet/mscc/Makefile (revision d8ea7ff3)
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 \
5f4d0323bSVladimir Oltean	ocelot_io.o \
6f4d0323bSVladimir Oltean	ocelot_police.o \
73c83654fSVladimir Oltean	ocelot_vcap.o \
8f4d0323bSVladimir Oltean	ocelot_flower.o \
9a4ae997aSVladimir Oltean	ocelot_ptp.o \
10a4ae997aSVladimir Oltean	ocelot_devlink.o
11*d8ea7ff3SHoratiu Vulturmscc_ocelot_switch_lib-$(CONFIG_BRIDGE_MRP) += ocelot_mrp.o
1214addfb6SVladimir Olteanobj-$(CONFIG_MSCC_OCELOT_SWITCH) += mscc_ocelot.o
139c90eea3SVladimir Olteanmscc_ocelot-y := \
149c90eea3SVladimir Oltean	ocelot_vsc7514.o \
159c90eea3SVladimir Oltean	ocelot_net.o
16