1# SPDX-License-Identifier: (GPL-2.0 OR MIT) 2obj-$(CONFIG_MSCC_OCELOT_SWITCH_LIB) += mscc_ocelot_switch_lib.o 3mscc_ocelot_switch_lib-y := \ 4 ocelot.o \ 5 ocelot_io.o \ 6 ocelot_police.o \ 7 ocelot_vcap.o \ 8 ocelot_flower.o \ 9 ocelot_ptp.o \ 10 ocelot_devlink.o 11mscc_ocelot_switch_lib-$(CONFIG_BRIDGE_MRP) += ocelot_mrp.o 12obj-$(CONFIG_MSCC_OCELOT_SWITCH) += mscc_ocelot.o 13mscc_ocelot-y := \ 14 ocelot_vsc7514.o \ 15 ocelot_net.o 16