1# SPDX-License-Identifier: GPL-2.0 2# 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 \ 9 br_ioctl.o br_stp.o br_stp_bpdu.o \ 10 br_stp_if.o br_stp_timer.o br_netlink.o \ 11 br_netlink_tunnel.o br_arp_nd_proxy.o 12 13bridge-$(CONFIG_SYSFS) += br_sysfs_if.o br_sysfs_br.o 14 15bridge-$(subst m,y,$(CONFIG_BRIDGE_NETFILTER)) += br_nf_core.o 16 17br_netfilter-y := br_netfilter_hooks.o 18br_netfilter-$(subst m,y,$(CONFIG_IPV6)) += br_netfilter_ipv6.o 19obj-$(CONFIG_BRIDGE_NETFILTER) += br_netfilter.o 20 21bridge-$(CONFIG_BRIDGE_IGMP_SNOOPING) += br_multicast.o br_mdb.o 22 23bridge-$(CONFIG_BRIDGE_VLAN_FILTERING) += br_vlan.o br_vlan_tunnel.o br_vlan_options.o 24 25bridge-$(CONFIG_NET_SWITCHDEV) += br_switchdev.o 26 27obj-$(CONFIG_NETFILTER) += netfilter/ 28 29bridge-$(CONFIG_BRIDGE_MRP) += br_mrp_switchdev.o br_mrp.o br_mrp_netlink.o 30