Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Ben Hutchings | 7df899c | 2011-11-25 14:35:02 +0000 | [diff] [blame] | 2 | # the core |
| 3 | obj-$(CONFIG_NET_DSA) += dsa_core.o |
Florian Fainelli | 2a93c1a | 2017-12-06 15:03:33 -0800 | [diff] [blame] | 4 | dsa_core-y += dsa.o dsa2.o master.o port.o slave.o switch.o |
| 5 | dsa_core-$(CONFIG_NET_DSA_LEGACY) += legacy.o |
Ben Hutchings | 7df899c | 2011-11-25 14:35:02 +0000 | [diff] [blame] | 6 | |
Lennert Buytenhek | 91da11f | 2008-10-07 13:44:02 +0000 | [diff] [blame] | 7 | # tagging formats |
Florian Fainelli | 5037d53 | 2014-08-27 17:04:55 -0700 | [diff] [blame] | 8 | dsa_core-$(CONFIG_NET_DSA_TAG_BRCM) += tag_brcm.o |
Florian Fainelli | b74b70c | 2017-11-10 15:22:54 -0800 | [diff] [blame] | 9 | dsa_core-$(CONFIG_NET_DSA_TAG_BRCM_PREPEND) += tag_brcm.o |
Ben Hutchings | 7df899c | 2011-11-25 14:35:02 +0000 | [diff] [blame] | 10 | dsa_core-$(CONFIG_NET_DSA_TAG_DSA) += tag_dsa.o |
| 11 | dsa_core-$(CONFIG_NET_DSA_TAG_EDSA) += tag_edsa.o |
Woojung Huh | 8b8010f | 2017-05-31 20:19:06 +0000 | [diff] [blame] | 12 | dsa_core-$(CONFIG_NET_DSA_TAG_KSZ) += tag_ksz.o |
Juergen Beisert | e8fe177 | 2017-04-18 10:48:24 +0200 | [diff] [blame] | 13 | dsa_core-$(CONFIG_NET_DSA_TAG_LAN9303) += tag_lan9303.o |
Andrew Lunn | eb7b721 | 2017-05-16 22:40:07 +0200 | [diff] [blame] | 14 | dsa_core-$(CONFIG_NET_DSA_TAG_MTK) += tag_mtk.o |
| 15 | dsa_core-$(CONFIG_NET_DSA_TAG_QCA) += tag_qca.o |
| 16 | dsa_core-$(CONFIG_NET_DSA_TAG_TRAILER) += tag_trailer.o |