Merge branch 'core-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[firefly-linux-kernel-4.4.55.git] / net / bridge / Makefile
1 #
2 # Makefile for the IEEE 802.1d ethernet bridging layer.
3 #
4
5 obj-$(CONFIG_BRIDGE) += bridge.o
6
7 bridge-y        := br.o br_device.o br_fdb.o br_forward.o br_if.o br_input.o \
8                         br_ioctl.o br_stp.o br_stp_bpdu.o \
9                         br_stp_if.o br_stp_timer.o br_netlink.o
10
11 bridge-$(CONFIG_SYSFS) += br_sysfs_if.o br_sysfs_br.o
12
13 bridge-$(subst m,y,$(CONFIG_BRIDGE_NETFILTER)) += br_nf_core.o
14
15 br_netfilter-y := br_netfilter_hooks.o
16 br_netfilter-$(subst m,y,$(CONFIG_IPV6)) += br_netfilter_ipv6.o
17 obj-$(CONFIG_BRIDGE_NETFILTER) += br_netfilter.o
18
19 bridge-$(CONFIG_BRIDGE_IGMP_SNOOPING) += br_multicast.o br_mdb.o
20
21 bridge-$(CONFIG_BRIDGE_VLAN_FILTERING) += br_vlan.o
22
23 obj-$(CONFIG_NETFILTER) += netfilter/