blob: 40b1ede527caedde81bbfea79d807a1af912e29e [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# Makefile for the IEEE 802.1d ethernet bridging layer.
3#
4
5obj-$(CONFIG_BRIDGE) += bridge.o
6
7bridge-y := br.o br_device.o br_fdb.o br_forward.o br_if.o br_input.o \
Cong Wangb1282722014-05-20 17:30:00 -07008 br_ioctl.o br_stp.o br_stp_bpdu.o \
Roopa Prabhuefa53562017-01-31 22:59:54 -08009 br_stp_if.o br_stp_timer.o br_netlink.o \
10 br_netlink_tunnel.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070011
12bridge-$(CONFIG_SYSFS) += br_sysfs_if.o br_sysfs_br.o
13
Florian Westphal57f58772014-09-30 10:59:18 +020014bridge-$(subst m,y,$(CONFIG_BRIDGE_NETFILTER)) += br_nf_core.o
15
Pablo Neira Ayusoc4e70a82015-06-16 13:38:26 +020016br_netfilter-y := br_netfilter_hooks.o
Pablo Neira Ayuso230ac492015-06-16 14:07:03 +020017br_netfilter-$(subst m,y,$(CONFIG_IPV6)) += br_netfilter_ipv6.o
Pablo Neira Ayuso34666d42014-09-18 11:29:03 +020018obj-$(CONFIG_BRIDGE_NETFILTER) += br_netfilter.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070019
Cong Wangee07c6e2012-12-07 00:04:48 +000020bridge-$(CONFIG_BRIDGE_IGMP_SNOOPING) += br_multicast.o br_mdb.o
Herbert Xueb1d1642010-02-27 19:41:45 +000021
Roopa Prabhuefa53562017-01-31 22:59:54 -080022bridge-$(CONFIG_BRIDGE_VLAN_FILTERING) += br_vlan.o br_vlan_tunnel.o
Vlad Yasevich243a2e62013-02-13 12:00:09 +000023
Ido Schimmel6bc506b2016-08-25 18:42:37 +020024bridge-$(CONFIG_NET_SWITCHDEV) += br_switchdev.o
25
Pablo Neira17088032014-05-25 14:48:33 +020026obj-$(CONFIG_NETFILTER) += netfilter/