mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-18 00:24:58 +08:00
6ca80638b9
Use more inclusive terms throughout the DSA subsystem by moving away from "master" which is replaced by "conduit" and "slave" which is replaced by "user". No functional changes. Acked-by: Rob Herring <robh@kernel.org> Acked-by: Stephen Hemminger <stephen@networkplumber.org> Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com> Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com> Link: https://lore.kernel.org/r/20231023181729.1191071-2-florian.fainelli@broadcom.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
44 lines
1.3 KiB
Makefile
44 lines
1.3 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
# the stubs are built-in whenever DSA is built-in or module
|
|
ifdef CONFIG_NET_DSA
|
|
obj-y := stubs.o
|
|
endif
|
|
|
|
# the core
|
|
obj-$(CONFIG_NET_DSA) += dsa_core.o
|
|
dsa_core-y += \
|
|
conduit.o \
|
|
devlink.o \
|
|
dsa.o \
|
|
netlink.o \
|
|
port.o \
|
|
switch.o \
|
|
tag.o \
|
|
tag_8021q.o \
|
|
trace.o \
|
|
user.o
|
|
|
|
# tagging formats
|
|
obj-$(CONFIG_NET_DSA_TAG_AR9331) += tag_ar9331.o
|
|
obj-$(CONFIG_NET_DSA_TAG_BRCM_COMMON) += tag_brcm.o
|
|
obj-$(CONFIG_NET_DSA_TAG_DSA_COMMON) += tag_dsa.o
|
|
obj-$(CONFIG_NET_DSA_TAG_GSWIP) += tag_gswip.o
|
|
obj-$(CONFIG_NET_DSA_TAG_HELLCREEK) += tag_hellcreek.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_NONE) += tag_none.o
|
|
obj-$(CONFIG_NET_DSA_TAG_OCELOT) += tag_ocelot.o
|
|
obj-$(CONFIG_NET_DSA_TAG_OCELOT_8021Q) += tag_ocelot_8021q.o
|
|
obj-$(CONFIG_NET_DSA_TAG_QCA) += tag_qca.o
|
|
obj-$(CONFIG_NET_DSA_TAG_RTL4_A) += tag_rtl4_a.o
|
|
obj-$(CONFIG_NET_DSA_TAG_RTL8_4) += tag_rtl8_4.o
|
|
obj-$(CONFIG_NET_DSA_TAG_RZN1_A5PSW) += tag_rzn1_a5psw.o
|
|
obj-$(CONFIG_NET_DSA_TAG_SJA1105) += tag_sja1105.o
|
|
obj-$(CONFIG_NET_DSA_TAG_TRAILER) += tag_trailer.o
|
|
obj-$(CONFIG_NET_DSA_TAG_XRS700X) += tag_xrs700x.o
|
|
|
|
# for tracing framework to find trace.h
|
|
CFLAGS_trace.o := -I$(src)
|