xref: /openbmc/linux/net/bridge/Makefile (revision c4e70a87)
11da177e4SLinus Torvalds#
21da177e4SLinus Torvalds# Makefile for the IEEE 802.1d ethernet bridging layer.
31da177e4SLinus Torvalds#
41da177e4SLinus Torvalds
51da177e4SLinus Torvaldsobj-$(CONFIG_BRIDGE) += bridge.o
61da177e4SLinus Torvalds
71da177e4SLinus Torvaldsbridge-y	:= br.o br_device.o br_fdb.o br_forward.o br_if.o br_input.o \
8b1282726SCong Wang			br_ioctl.o br_stp.o br_stp_bpdu.o \
957f5877cSFlorian Westphal			br_stp_if.o br_stp_timer.o br_netlink.o
101da177e4SLinus Torvalds
111da177e4SLinus Torvaldsbridge-$(CONFIG_SYSFS) += br_sysfs_if.o br_sysfs_br.o
121da177e4SLinus Torvalds
1357f5877cSFlorian Westphalbridge-$(subst m,y,$(CONFIG_BRIDGE_NETFILTER)) += br_nf_core.o
1457f5877cSFlorian Westphal
15c4e70a87SPablo Neira Ayusobr_netfilter-y := br_netfilter_hooks.o
1634666d46SPablo Neira Ayusoobj-$(CONFIG_BRIDGE_NETFILTER) += br_netfilter.o
171da177e4SLinus Torvalds
18ee07c6e7SCong Wangbridge-$(CONFIG_BRIDGE_IGMP_SNOOPING) += br_multicast.o br_mdb.o
19eb1d1641SHerbert Xu
20243a2e63SVlad Yasevichbridge-$(CONFIG_BRIDGE_VLAN_FILTERING) += br_vlan.o
21243a2e63SVlad Yasevich
221708803eSPablo Neiraobj-$(CONFIG_NETFILTER) += netfilter/
23