# SPDX-License-Identifier: GPL-2.0 # # Makefile for the IEEE 802.1d ethernet bridging layer. # obj-$([31mCONFIG_BRIDGE[0m) += bridge.o bridge-y := br.o br_device.o br_fdb.o br_forward.o br_if.o br_input.o \ br_ioctl.o br_stp.o br_stp_bpdu.o \ br_stp_if.o br_stp_timer.o br_netlink.o \ br_netlink_tunnel.o br_arp_nd_proxy.o bridge-$([31mCONFIG_SYSFS[0m) += br_sysfs_if.o br_sysfs_br.o bridge-$(subst m,y,$([31mCONFIG_BRIDGE_NETFILTER[0m)) += br_nf_core.o br_netfilter-y := br_netfilter_hooks.o br_netfilter-$(subst m,y,$([31mCONFIG_IPV6[0m)) += br_netfilter_ipv6.o obj-$([31mCONFIG_BRIDGE_NETFILTER[0m) += br_netfilter.o bridge-$([31mCONFIG_BRIDGE_IGMP_SNOOPING[0m) += br_multicast.o br_mdb.o bridge-$([31mCONFIG_BRIDGE_VLAN_FILTERING[0m) += br_vlan.o br_vlan_tunnel.o bridge-$([31mCONFIG_NET_SWITCHDEV[0m) += br_switchdev.o obj-$([31mCONFIG_NETFILTER[0m) += netfilter/ |