1 # SPDX-License-Identifier: GPL-2.0 << 2 # 1 # 3 # Makefile for the IEEE 802.1d ethernet bridgi 2 # Makefile for the IEEE 802.1d ethernet bridging layer. 4 # 3 # 5 4 6 obj-$(CONFIG_BRIDGE) += bridge.o 5 obj-$(CONFIG_BRIDGE) += bridge.o 7 6 8 bridge-y := br.o br_device.o br_fdb.o b 7 bridge-y := br.o br_device.o br_fdb.o br_forward.o br_if.o br_input.o \ 9 br_ioctl.o br_stp.o br 8 br_ioctl.o br_stp.o br_stp_bpdu.o \ 10 br_stp_if.o br_stp_tim 9 br_stp_if.o br_stp_timer.o br_netlink.o \ 11 br_netlink_tunnel.o br !! 10 br_netlink_tunnel.o 12 11 13 bridge-$(CONFIG_SYSFS) += br_sysfs_if.o br_sys 12 bridge-$(CONFIG_SYSFS) += br_sysfs_if.o br_sysfs_br.o 14 13 15 bridge-$(subst m,y,$(CONFIG_BRIDGE_NETFILTER)) 14 bridge-$(subst m,y,$(CONFIG_BRIDGE_NETFILTER)) += br_nf_core.o 16 15 17 br_netfilter-y := br_netfilter_hooks.o 16 br_netfilter-y := br_netfilter_hooks.o 18 br_netfilter-$(subst m,y,$(CONFIG_IPV6)) += br 17 br_netfilter-$(subst m,y,$(CONFIG_IPV6)) += br_netfilter_ipv6.o 19 obj-$(CONFIG_BRIDGE_NETFILTER) += br_netfilter 18 obj-$(CONFIG_BRIDGE_NETFILTER) += br_netfilter.o 20 19 21 bridge-$(CONFIG_BRIDGE_IGMP_SNOOPING) += br_mu !! 20 bridge-$(CONFIG_BRIDGE_IGMP_SNOOPING) += br_multicast.o br_mdb.o 22 21 23 bridge-$(CONFIG_BRIDGE_VLAN_FILTERING) += br_v !! 22 bridge-$(CONFIG_BRIDGE_VLAN_FILTERING) += br_vlan.o br_vlan_tunnel.o 24 23 25 bridge-$(CONFIG_NET_SWITCHDEV) += br_switchdev 24 bridge-$(CONFIG_NET_SWITCHDEV) += br_switchdev.o 26 25 27 obj-$(CONFIG_NETFILTER) += netfilter/ 26 obj-$(CONFIG_NETFILTER) += netfilter/ 28 << 29 bridge-$(CONFIG_BRIDGE_MRP) += br_mrp_swit << 30 << 31 bridge-$(CONFIG_BRIDGE_CFM) += br_cfm.o br <<
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.