xref: /linux/drivers/net/dsa/microchip/Makefile (revision 9410645520e9b820069761f3450ef6661418e279)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
207bca160SArun Ramadossobj-$(CONFIG_NET_DSA_MICROCHIP_KSZ_COMMON)	+= ksz_switch.o
3a16efc61SOleksij Rempelksz_switch-objs := ksz_common.o ksz_dcb.o
4002841beSOleksij Rempelksz_switch-objs += ksz9477.o ksz9477_acl.o ksz9477_tc_flower.o
5*6e65f5f5SPieter Van Trappenksz_switch-objs += ksz8.o
655ab6ffaSArun Ramadossksz_switch-objs += lan937x_main.o
7eac1ea20SChristian Eggers
8eac1ea20SChristian Eggersifdef CONFIG_NET_DSA_MICROCHIP_KSZ_PTP
9eac1ea20SChristian Eggersksz_switch-objs += ksz_ptp.o
10eac1ea20SChristian Eggersendif
11eac1ea20SChristian Eggers
1220e03777STristram Haobj-$(CONFIG_NET_DSA_MICROCHIP_KSZ9477_I2C)	+= ksz9477_i2c.o
134658f2feSArun Ramadossobj-$(CONFIG_NET_DSA_MICROCHIP_KSZ_SPI)		+= ksz_spi.o
1460a36476SMichael Grzeschikobj-$(CONFIG_NET_DSA_MICROCHIP_KSZ8863_SMI)	+= ksz8863_smi.o
15