xref: /openbmc/linux/net/bridge/Makefile (revision b2441318)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
21da177e4SLinus Torvalds#
31da177e4SLinus Torvalds# Makefile for the IEEE 802.1d ethernet bridging layer.
41da177e4SLinus Torvalds#
51da177e4SLinus Torvalds
61da177e4SLinus Torvaldsobj-$(CONFIG_BRIDGE) += bridge.o
71da177e4SLinus Torvalds
81da177e4SLinus Torvaldsbridge-y	:= br.o br_device.o br_fdb.o br_forward.o br_if.o br_input.o \
9b1282726SCong Wang			br_ioctl.o br_stp.o br_stp_bpdu.o \
10efa5356bSRoopa Prabhu			br_stp_if.o br_stp_timer.o br_netlink.o \
11efa5356bSRoopa Prabhu			br_netlink_tunnel.o
121da177e4SLinus Torvalds
131da177e4SLinus Torvaldsbridge-$(CONFIG_SYSFS) += br_sysfs_if.o br_sysfs_br.o
141da177e4SLinus Torvalds
1557f5877cSFlorian Westphalbridge-$(subst m,y,$(CONFIG_BRIDGE_NETFILTER)) += br_nf_core.o
1657f5877cSFlorian Westphal
17c4e70a87SPablo Neira Ayusobr_netfilter-y := br_netfilter_hooks.o
18230ac490SPablo Neira Ayusobr_netfilter-$(subst m,y,$(CONFIG_IPV6)) += br_netfilter_ipv6.o
1934666d46SPablo Neira Ayusoobj-$(CONFIG_BRIDGE_NETFILTER) += br_netfilter.o
201da177e4SLinus Torvalds
21ee07c6e7SCong Wangbridge-$(CONFIG_BRIDGE_IGMP_SNOOPING) += br_multicast.o br_mdb.o
22eb1d1641SHerbert Xu
23efa5356bSRoopa Prabhubridge-$(CONFIG_BRIDGE_VLAN_FILTERING) += br_vlan.o br_vlan_tunnel.o
24243a2e63SVlad Yasevich
256bc506b4SIdo Schimmelbridge-$(CONFIG_NET_SWITCHDEV) += br_switchdev.o
266bc506b4SIdo Schimmel
271708803eSPablo Neiraobj-$(CONFIG_NETFILTER) += netfilter/
28