blob: a1cda5d4718d98ddefbbfc6782bc37b296df3170 [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 \
Florian Westphal57f58772014-09-30 10:59:18 +02009 br_stp_if.o br_stp_timer.o br_netlink.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070010
11bridge-$(CONFIG_SYSFS) += br_sysfs_if.o br_sysfs_br.o
12
Florian Westphal57f58772014-09-30 10:59:18 +020013bridge-$(subst m,y,$(CONFIG_BRIDGE_NETFILTER)) += br_nf_core.o
14
Pablo Neira Ayusoc4e70a82015-06-16 13:38:26 +020015br_netfilter-y := br_netfilter_hooks.o
Pablo Neira Ayuso230ac492015-06-16 14:07:03 +020016br_netfilter-$(subst m,y,$(CONFIG_IPV6)) += br_netfilter_ipv6.o
Pablo Neira Ayuso34666d42014-09-18 11:29:03 +020017obj-$(CONFIG_BRIDGE_NETFILTER) += br_netfilter.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070018
Cong Wangee07c6e2012-12-07 00:04:48 +000019bridge-$(CONFIG_BRIDGE_IGMP_SNOOPING) += br_multicast.o br_mdb.o
Herbert Xueb1d1642010-02-27 19:41:45 +000020
Vlad Yasevich243a2e62013-02-13 12:00:09 +000021bridge-$(CONFIG_BRIDGE_VLAN_FILTERING) += br_vlan.o
22
Pablo Neira17088032014-05-25 14:48:33 +020023obj-$(CONFIG_NETFILTER) += netfilter/