mirror of
https://github.com/torvalds/linux.git
synced 2024-11-19 02:21:47 +00:00
2a93c1a365
Introduce a configuration option: CONFIG_NET_DSA_LEGACY allowing to compile out support for the old platform device and Device Tree binding registration. Support for these configurations is scheduled to be removed in 4.17. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
17 lines
669 B
Makefile
17 lines
669 B
Makefile
# 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
|
|
dsa_core-$(CONFIG_NET_DSA_LEGACY) += legacy.o
|
|
|
|
# tagging formats
|
|
dsa_core-$(CONFIG_NET_DSA_TAG_BRCM) += tag_brcm.o
|
|
dsa_core-$(CONFIG_NET_DSA_TAG_BRCM_PREPEND) += tag_brcm.o
|
|
dsa_core-$(CONFIG_NET_DSA_TAG_DSA) += tag_dsa.o
|
|
dsa_core-$(CONFIG_NET_DSA_TAG_EDSA) += tag_edsa.o
|
|
dsa_core-$(CONFIG_NET_DSA_TAG_KSZ) += tag_ksz.o
|
|
dsa_core-$(CONFIG_NET_DSA_TAG_LAN9303) += tag_lan9303.o
|
|
dsa_core-$(CONFIG_NET_DSA_TAG_MTK) += tag_mtk.o
|
|
dsa_core-$(CONFIG_NET_DSA_TAG_QCA) += tag_qca.o
|
|
dsa_core-$(CONFIG_NET_DSA_TAG_TRAILER) += tag_trailer.o
|