162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
262306a36Sopenharmony_ci#
362306a36Sopenharmony_ci# Makefile for the IEEE 802.1d ethernet bridging layer.
462306a36Sopenharmony_ci#
562306a36Sopenharmony_ci
662306a36Sopenharmony_ciobj-$(CONFIG_BRIDGE) += bridge.o
762306a36Sopenharmony_ci
862306a36Sopenharmony_cibridge-y	:= br.o br_device.o br_fdb.o br_forward.o br_if.o br_input.o \
962306a36Sopenharmony_ci			br_ioctl.o br_stp.o br_stp_bpdu.o \
1062306a36Sopenharmony_ci			br_stp_if.o br_stp_timer.o br_netlink.o \
1162306a36Sopenharmony_ci			br_netlink_tunnel.o br_arp_nd_proxy.o
1262306a36Sopenharmony_ci
1362306a36Sopenharmony_cibridge-$(CONFIG_SYSFS) += br_sysfs_if.o br_sysfs_br.o
1462306a36Sopenharmony_ci
1562306a36Sopenharmony_cibridge-$(subst m,y,$(CONFIG_BRIDGE_NETFILTER)) += br_nf_core.o
1662306a36Sopenharmony_ci
1762306a36Sopenharmony_cibr_netfilter-y := br_netfilter_hooks.o
1862306a36Sopenharmony_cibr_netfilter-$(subst m,y,$(CONFIG_IPV6)) += br_netfilter_ipv6.o
1962306a36Sopenharmony_ciobj-$(CONFIG_BRIDGE_NETFILTER) += br_netfilter.o
2062306a36Sopenharmony_ci
2162306a36Sopenharmony_cibridge-$(CONFIG_BRIDGE_IGMP_SNOOPING) += br_multicast.o br_mdb.o br_multicast_eht.o
2262306a36Sopenharmony_ci
2362306a36Sopenharmony_cibridge-$(CONFIG_BRIDGE_VLAN_FILTERING) += br_vlan.o br_vlan_tunnel.o br_vlan_options.o br_mst.o
2462306a36Sopenharmony_ci
2562306a36Sopenharmony_cibridge-$(CONFIG_NET_SWITCHDEV) += br_switchdev.o
2662306a36Sopenharmony_ci
2762306a36Sopenharmony_ciobj-$(CONFIG_NETFILTER) += netfilter/
2862306a36Sopenharmony_ci
2962306a36Sopenharmony_cibridge-$(CONFIG_BRIDGE_MRP)	+= br_mrp_switchdev.o br_mrp.o br_mrp_netlink.o
3062306a36Sopenharmony_ci
3162306a36Sopenharmony_cibridge-$(CONFIG_BRIDGE_CFM)	+= br_cfm.o br_cfm_netlink.o
32