1 # SPDX-License-Identifier: GPL-2.0 1 # SPDX-License-Identifier: GPL-2.0 2 << 3 # the stubs are built-in whenever DSA is built << 4 ifdef CONFIG_NET_DSA << 5 obj-y := stubs.o << 6 endif << 7 << 8 # the core 2 # the core 9 obj-$(CONFIG_NET_DSA) += dsa_core.o 3 obj-$(CONFIG_NET_DSA) += dsa_core.o 10 dsa_core-y += \ !! 4 dsa_core-y += dsa.o dsa2.o master.o port.o slave.o switch.o 11 conduit.o \ << 12 devlink.o \ << 13 dsa.o \ << 14 netlink.o \ << 15 port.o \ << 16 switch.o \ << 17 tag.o \ << 18 tag_8021q.o \ << 19 trace.o \ << 20 user.o << 21 5 22 # tagging formats 6 # tagging formats >> 7 obj-$(CONFIG_NET_DSA_TAG_8021Q) += tag_8021q.o 23 obj-$(CONFIG_NET_DSA_TAG_AR9331) += tag_ar9331 8 obj-$(CONFIG_NET_DSA_TAG_AR9331) += tag_ar9331.o 24 obj-$(CONFIG_NET_DSA_TAG_BRCM_COMMON) += tag_b 9 obj-$(CONFIG_NET_DSA_TAG_BRCM_COMMON) += tag_brcm.o 25 obj-$(CONFIG_NET_DSA_TAG_DSA_COMMON) += tag_ds !! 10 obj-$(CONFIG_NET_DSA_TAG_DSA) += tag_dsa.o >> 11 obj-$(CONFIG_NET_DSA_TAG_EDSA) += tag_edsa.o 26 obj-$(CONFIG_NET_DSA_TAG_GSWIP) += tag_gswip.o 12 obj-$(CONFIG_NET_DSA_TAG_GSWIP) += tag_gswip.o 27 obj-$(CONFIG_NET_DSA_TAG_HELLCREEK) += tag_hel << 28 obj-$(CONFIG_NET_DSA_TAG_KSZ) += tag_ksz.o 13 obj-$(CONFIG_NET_DSA_TAG_KSZ) += tag_ksz.o 29 obj-$(CONFIG_NET_DSA_TAG_LAN9303) += tag_lan93 14 obj-$(CONFIG_NET_DSA_TAG_LAN9303) += tag_lan9303.o 30 obj-$(CONFIG_NET_DSA_TAG_MTK) += tag_mtk.o 15 obj-$(CONFIG_NET_DSA_TAG_MTK) += tag_mtk.o 31 obj-$(CONFIG_NET_DSA_TAG_NONE) += tag_none.o << 32 obj-$(CONFIG_NET_DSA_TAG_OCELOT) += tag_ocelot 16 obj-$(CONFIG_NET_DSA_TAG_OCELOT) += tag_ocelot.o 33 obj-$(CONFIG_NET_DSA_TAG_OCELOT_8021Q) += tag_ << 34 obj-$(CONFIG_NET_DSA_TAG_QCA) += tag_qca.o 17 obj-$(CONFIG_NET_DSA_TAG_QCA) += tag_qca.o 35 obj-$(CONFIG_NET_DSA_TAG_RTL4_A) += tag_rtl4_a << 36 obj-$(CONFIG_NET_DSA_TAG_RTL8_4) += tag_rtl8_4 << 37 obj-$(CONFIG_NET_DSA_TAG_RZN1_A5PSW) += tag_rz << 38 obj-$(CONFIG_NET_DSA_TAG_SJA1105) += tag_sja11 18 obj-$(CONFIG_NET_DSA_TAG_SJA1105) += tag_sja1105.o 39 obj-$(CONFIG_NET_DSA_TAG_TRAILER) += tag_trail 19 obj-$(CONFIG_NET_DSA_TAG_TRAILER) += tag_trailer.o 40 obj-$(CONFIG_NET_DSA_TAG_VSC73XX_8021Q) += tag << 41 obj-$(CONFIG_NET_DSA_TAG_XRS700X) += tag_xrs70 << 42 << 43 # for tracing framework to find trace.h << 44 CFLAGS_trace.o := -I$(src) <<
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.