blob: ac9ef337f0fa6b4f7a456c89d34c689b3856c9e0 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Linus Torvalds1da177e2005-04-16 15:20:36 -07002#
3# Makefile for the IEEE 802.1d ethernet bridging layer.
4#
5
6obj-$(CONFIG_BRIDGE) += bridge.o
7
8bridge-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 -07009 br_ioctl.o br_stp.o br_stp_bpdu.o \
Roopa Prabhuefa53562017-01-31 22:59:54 -080010 br_stp_if.o br_stp_timer.o br_netlink.o \
Roopa Prabhu821f1b22017-10-06 22:12:37 -070011 br_netlink_tunnel.o br_arp_nd_proxy.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070012
13bridge-$(CONFIG_SYSFS) += br_sysfs_if.o br_sysfs_br.o
14
Florian Westphal57f58772014-09-30 10:59:18 +020015bridge-$(subst m,y,$(CONFIG_BRIDGE_NETFILTER)) += br_nf_core.o
16
Pablo Neira Ayusoc4e70a82015-06-16 13:38:26 +020017br_netfilter-y := br_netfilter_hooks.o
Pablo Neira Ayuso230ac492015-06-16 14:07:03 +020018br_netfilter-$(subst m,y,$(CONFIG_IPV6)) += br_netfilter_ipv6.o
Pablo Neira Ayuso34666d42014-09-18 11:29:03 +020019obj-$(CONFIG_BRIDGE_NETFILTER) += br_netfilter.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070020
Cong Wangee07c6e2012-12-07 00:04:48 +000021bridge-$(CONFIG_BRIDGE_IGMP_SNOOPING) += br_multicast.o br_mdb.o
Herbert Xueb1d1642010-02-27 19:41:45 +000022
Roopa Prabhuefa53562017-01-31 22:59:54 -080023bridge-$(CONFIG_BRIDGE_VLAN_FILTERING) += br_vlan.o br_vlan_tunnel.o
Vlad Yasevich243a2e62013-02-13 12:00:09 +000024
Ido Schimmel6bc506b2016-08-25 18:42:37 +020025bridge-$(CONFIG_NET_SWITCHDEV) += br_switchdev.o
26
Pablo Neira17088032014-05-25 14:48:33 +020027obj-$(CONFIG_NETFILTER) += netfilter/