xref: /linux/net/dsa/Makefile (revision 5cf2c75b5b91bcf81d61b2d2ea1c71363bcacf89)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
27df899c3SBen Hutchings# the core
37df899c3SBen Hutchingsobj-$(CONFIG_NET_DSA) += dsa_core.o
495f510d0SVladimir Olteandsa_core-y += \
5*5cf2c75bSVladimir Oltean	devlink.o \
695f510d0SVladimir Oltean	dsa.o \
795f510d0SVladimir Oltean	dsa2.o \
895f510d0SVladimir Oltean	master.o \
995f510d0SVladimir Oltean	netlink.o \
1095f510d0SVladimir Oltean	port.o \
1195f510d0SVladimir Oltean	slave.o \
1295f510d0SVladimir Oltean	switch.o \
1395f510d0SVladimir Oltean	tag_8021q.o
147df899c3SBen Hutchings
1591da11f8SLennert Buytenhek# tagging formats
1648fda74fSOleksij Rempelobj-$(CONFIG_NET_DSA_TAG_AR9331) += tag_ar9331.o
170b9f9dfbSAndrew Lunnobj-$(CONFIG_NET_DSA_TAG_BRCM_COMMON) += tag_brcm.o
18469ee5feSTobias Waldekranzobj-$(CONFIG_NET_DSA_TAG_DSA_COMMON) += tag_dsa.o
190b9f9dfbSAndrew Lunnobj-$(CONFIG_NET_DSA_TAG_GSWIP) += tag_gswip.o
2001ef09caSKurt Kanzenbachobj-$(CONFIG_NET_DSA_TAG_HELLCREEK) += tag_hellcreek.o
21f4073e91SGeorge McCollisterobj-$(CONFIG_NET_DSA_TAG_KSZ) += tag_ksz.o
220b9f9dfbSAndrew Lunnobj-$(CONFIG_NET_DSA_TAG_LAN9303) += tag_lan9303.o
230b9f9dfbSAndrew Lunnobj-$(CONFIG_NET_DSA_TAG_MTK) += tag_mtk.o
24d2be3204SVladimir Olteanobj-$(CONFIG_NET_DSA_TAG_NONE) += tag_none.o
258dce89aaSVladimir Olteanobj-$(CONFIG_NET_DSA_TAG_OCELOT) += tag_ocelot.o
267c83a7c5SVladimir Olteanobj-$(CONFIG_NET_DSA_TAG_OCELOT_8021Q) += tag_ocelot_8021q.o
270b9f9dfbSAndrew Lunnobj-$(CONFIG_NET_DSA_TAG_QCA) += tag_qca.o
289cb8eddaSAlvin Šipragaobj-$(CONFIG_NET_DSA_TAG_RTL4_A) += tag_rtl4_a.o
291521d5adSAlvin Šipragaobj-$(CONFIG_NET_DSA_TAG_RTL8_4) += tag_rtl8_4.o
30a08d6a6dSClément Légerobj-$(CONFIG_NET_DSA_TAG_RZN1_A5PSW) += tag_rzn1_a5psw.o
31227d07a0SVladimir Olteanobj-$(CONFIG_NET_DSA_TAG_SJA1105) += tag_sja1105.o
320b9f9dfbSAndrew Lunnobj-$(CONFIG_NET_DSA_TAG_TRAILER) += tag_trailer.o
3354a52823SGeorge McCollisterobj-$(CONFIG_NET_DSA_TAG_XRS700X) += tag_xrs700x.o
34