Makefile 771 字节
Newer Older
L
Linus Torvalds 已提交
1 2 3 4 5 6 7
#
# 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 \
8
			br_ioctl.o br_stp.o br_stp_bpdu.o \
9 10
			br_stp_if.o br_stp_timer.o br_netlink.o \
			br_netlink_tunnel.o
L
Linus Torvalds 已提交
11 12 13

bridge-$(CONFIG_SYSFS) += br_sysfs_if.o br_sysfs_br.o

14 15
bridge-$(subst m,y,$(CONFIG_BRIDGE_NETFILTER)) += br_nf_core.o

16
br_netfilter-y := br_netfilter_hooks.o
17
br_netfilter-$(subst m,y,$(CONFIG_IPV6)) += br_netfilter_ipv6.o
18
obj-$(CONFIG_BRIDGE_NETFILTER) += br_netfilter.o
L
Linus Torvalds 已提交
19

20
bridge-$(CONFIG_BRIDGE_IGMP_SNOOPING) += br_multicast.o br_mdb.o
21

22
bridge-$(CONFIG_BRIDGE_VLAN_FILTERING) += br_vlan.o br_vlan_tunnel.o
23

24 25
bridge-$(CONFIG_NET_SWITCHDEV) += br_switchdev.o

26
obj-$(CONFIG_NETFILTER) += netfilter/