]>
Commit | Line | Data |
---|---|---|
b2441318 | 1 | # SPDX-License-Identifier: GPL-2.0 |
1da177e4 LT |
2 | # |
3 | # Makefile for the IEEE 802.1d ethernet bridging layer. | |
4 | # | |
5 | ||
6 | obj-$(CONFIG_BRIDGE) += bridge.o | |
7 | ||
8 | bridge-y := br.o br_device.o br_fdb.o br_forward.o br_if.o br_input.o \ | |
b1282726 | 9 | br_ioctl.o br_stp.o br_stp_bpdu.o \ |
efa5356b | 10 | br_stp_if.o br_stp_timer.o br_netlink.o \ |
821f1b21 | 11 | br_netlink_tunnel.o br_arp_nd_proxy.o |
1da177e4 LT |
12 | |
13 | bridge-$(CONFIG_SYSFS) += br_sysfs_if.o br_sysfs_br.o | |
14 | ||
57f5877c FW |
15 | bridge-$(subst m,y,$(CONFIG_BRIDGE_NETFILTER)) += br_nf_core.o |
16 | ||
c4e70a87 | 17 | br_netfilter-y := br_netfilter_hooks.o |
230ac490 | 18 | br_netfilter-$(subst m,y,$(CONFIG_IPV6)) += br_netfilter_ipv6.o |
34666d46 | 19 | obj-$(CONFIG_BRIDGE_NETFILTER) += br_netfilter.o |
1da177e4 | 20 | |
ee07c6e7 | 21 | bridge-$(CONFIG_BRIDGE_IGMP_SNOOPING) += br_multicast.o br_mdb.o |
eb1d1641 | 22 | |
7a53e718 | 23 | bridge-$(CONFIG_BRIDGE_VLAN_FILTERING) += br_vlan.o br_vlan_tunnel.o br_vlan_options.o |
243a2e63 | 24 | |
6bc506b4 IS |
25 | bridge-$(CONFIG_NET_SWITCHDEV) += br_switchdev.o |
26 | ||
1708803e | 27 | obj-$(CONFIG_NETFILTER) += netfilter/ |
fadd4091 | 28 | |
9a9f26e8 | 29 | bridge-$(CONFIG_BRIDGE_MRP) += br_mrp_switchdev.o br_mrp.o br_mrp_netlink.o |