#
# Makefile for the IEEE 802.1d ethernet bridging layer.
#

obj-$(CONFIG_BRIDGE) += 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_notify.o br_netlink.o

ifeq ($(CONFIG_BRIDGE_RSTP), y)
bridge-y += br_rstp.o br_rstp_bpdu.o br_rstp_if.o br_rstp_tc.o br_rstp_timer.o br_rstp_common.o
else
bridge-y += br_stp.o br_stp_bpdu.o br_stp_if.o br_stp_timer.o
bridge-$(CONFIG_SYSFS) += br_sysfs_if.o br_sysfs_br.o
endif

bridge-$(CONFIG_BRIDGE_NETFILTER) += br_netfilter.o

bridge-$(CONFIG_BRIDGE_IGMP_SNOOPING) += br_multicast.o

obj-$(CONFIG_BRIDGE_NF_EBTABLES) += netfilter/
