blob: 9e4d3536f977e2a2f4c95219274b5e49ae93865d [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Ben Hutchings7df899c2011-11-25 14:35:02 +00002# the core
3obj-$(CONFIG_NET_DSA) += dsa_core.o
Florian Fainelli2a93c1a2017-12-06 15:03:33 -08004dsa_core-y += dsa.o dsa2.o master.o port.o slave.o switch.o
5dsa_core-$(CONFIG_NET_DSA_LEGACY) += legacy.o
Ben Hutchings7df899c2011-11-25 14:35:02 +00006
Lennert Buytenhek91da11f2008-10-07 13:44:02 +00007# tagging formats
Florian Fainelli5037d532014-08-27 17:04:55 -07008dsa_core-$(CONFIG_NET_DSA_TAG_BRCM) += tag_brcm.o
Florian Fainellib74b70c2017-11-10 15:22:54 -08009dsa_core-$(CONFIG_NET_DSA_TAG_BRCM_PREPEND) += tag_brcm.o
Ben Hutchings7df899c2011-11-25 14:35:02 +000010dsa_core-$(CONFIG_NET_DSA_TAG_DSA) += tag_dsa.o
11dsa_core-$(CONFIG_NET_DSA_TAG_EDSA) += tag_edsa.o
Woojung Huh8b8010f2017-05-31 20:19:06 +000012dsa_core-$(CONFIG_NET_DSA_TAG_KSZ) += tag_ksz.o
Juergen Beiserte8fe1772017-04-18 10:48:24 +020013dsa_core-$(CONFIG_NET_DSA_TAG_LAN9303) += tag_lan9303.o
Andrew Lunneb7b7212017-05-16 22:40:07 +020014dsa_core-$(CONFIG_NET_DSA_TAG_MTK) += tag_mtk.o
15dsa_core-$(CONFIG_NET_DSA_TAG_QCA) += tag_qca.o
16dsa_core-$(CONFIG_NET_DSA_TAG_TRAILER) += tag_trailer.o