| # SPDX-License-Identifier: GPL-2.0 |
| # the core |
| obj-$(CONFIG_NET_DSA) += dsa_core.o |
| dsa_core-y += dsa.o dsa2.o master.o port.o slave.o switch.o |
| |
| # tagging formats |
| obj-$(CONFIG_NET_DSA_TAG_8021Q) += tag_8021q.o |
| obj-$(CONFIG_NET_DSA_TAG_BRCM_COMMON) += tag_brcm.o |
| obj-$(CONFIG_NET_DSA_TAG_DSA) += tag_dsa.o |
| obj-$(CONFIG_NET_DSA_TAG_EDSA) += tag_edsa.o |
| obj-$(CONFIG_NET_DSA_TAG_GSWIP) += tag_gswip.o |
| obj-$(CONFIG_NET_DSA_TAG_KSZ) += tag_ksz.o |
| obj-$(CONFIG_NET_DSA_TAG_LAN9303) += tag_lan9303.o |
| obj-$(CONFIG_NET_DSA_TAG_MTK) += tag_mtk.o |
| obj-$(CONFIG_NET_DSA_TAG_QCA) += tag_qca.o |
| obj-$(CONFIG_NET_DSA_TAG_SJA1105) += tag_sja1105.o |
| obj-$(CONFIG_NET_DSA_TAG_TRAILER) += tag_trailer.o |