Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | # |
| 3 | # Makefile for the IEEE 802.1d ethernet bridging layer. |
| 4 | # |
| 5 | |
| 6 | obj-$(CONFIG_BRIDGE) += bridge.o |
| 7 | |
| 8 | bridge-y := br.o br_device.o br_fdb.o br_forward.o br_if.o br_input.o \ |
Cong Wang | b128272 | 2014-05-20 17:30:00 -0700 | [diff] [blame] | 9 | br_ioctl.o br_stp.o br_stp_bpdu.o \ |
Roopa Prabhu | efa5356 | 2017-01-31 22:59:54 -0800 | [diff] [blame] | 10 | br_stp_if.o br_stp_timer.o br_netlink.o \ |
Roopa Prabhu | 821f1b2 | 2017-10-06 22:12:37 -0700 | [diff] [blame] | 11 | br_netlink_tunnel.o br_arp_nd_proxy.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 12 | |
| 13 | bridge-$(CONFIG_SYSFS) += br_sysfs_if.o br_sysfs_br.o |
| 14 | |
Florian Westphal | 57f5877 | 2014-09-30 10:59:18 +0200 | [diff] [blame] | 15 | bridge-$(subst m,y,$(CONFIG_BRIDGE_NETFILTER)) += br_nf_core.o |
| 16 | |
Pablo Neira Ayuso | c4e70a8 | 2015-06-16 13:38:26 +0200 | [diff] [blame] | 17 | br_netfilter-y := br_netfilter_hooks.o |
Pablo Neira Ayuso | 230ac49 | 2015-06-16 14:07:03 +0200 | [diff] [blame] | 18 | br_netfilter-$(subst m,y,$(CONFIG_IPV6)) += br_netfilter_ipv6.o |
Pablo Neira Ayuso | 34666d4 | 2014-09-18 11:29:03 +0200 | [diff] [blame] | 19 | obj-$(CONFIG_BRIDGE_NETFILTER) += br_netfilter.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 20 | |
Cong Wang | ee07c6e | 2012-12-07 00:04:48 +0000 | [diff] [blame] | 21 | bridge-$(CONFIG_BRIDGE_IGMP_SNOOPING) += br_multicast.o br_mdb.o |
Herbert Xu | eb1d164 | 2010-02-27 19:41:45 +0000 | [diff] [blame] | 22 | |
Roopa Prabhu | efa5356 | 2017-01-31 22:59:54 -0800 | [diff] [blame] | 23 | bridge-$(CONFIG_BRIDGE_VLAN_FILTERING) += br_vlan.o br_vlan_tunnel.o |
Vlad Yasevich | 243a2e6 | 2013-02-13 12:00:09 +0000 | [diff] [blame] | 24 | |
Ido Schimmel | 6bc506b | 2016-08-25 18:42:37 +0200 | [diff] [blame] | 25 | bridge-$(CONFIG_NET_SWITCHDEV) += br_switchdev.o |
| 26 | |
Pablo Neira | 1708803 | 2014-05-25 14:48:33 +0200 | [diff] [blame] | 27 | obj-$(CONFIG_NETFILTER) += netfilter/ |