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