18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
28c2ecf20Sopenharmony_ci#
38c2ecf20Sopenharmony_ci# Makefile for the IEEE 802.1d ethernet bridging layer.
48c2ecf20Sopenharmony_ci#
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ciobj-$(CONFIG_BRIDGE) += bridge.o
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_cibridge-y	:= br.o br_device.o br_fdb.o br_forward.o br_if.o br_input.o \
98c2ecf20Sopenharmony_ci			br_ioctl.o br_stp.o br_stp_bpdu.o \
108c2ecf20Sopenharmony_ci			br_stp_if.o br_stp_timer.o br_netlink.o \
118c2ecf20Sopenharmony_ci			br_netlink_tunnel.o br_arp_nd_proxy.o
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_cibridge-$(CONFIG_SYSFS) += br_sysfs_if.o br_sysfs_br.o
148c2ecf20Sopenharmony_ci
158c2ecf20Sopenharmony_cibridge-$(subst m,y,$(CONFIG_BRIDGE_NETFILTER)) += br_nf_core.o
168c2ecf20Sopenharmony_ci
178c2ecf20Sopenharmony_cibr_netfilter-y := br_netfilter_hooks.o
188c2ecf20Sopenharmony_cibr_netfilter-$(subst m,y,$(CONFIG_IPV6)) += br_netfilter_ipv6.o
198c2ecf20Sopenharmony_ciobj-$(CONFIG_BRIDGE_NETFILTER) += br_netfilter.o
208c2ecf20Sopenharmony_ci
218c2ecf20Sopenharmony_cibridge-$(CONFIG_BRIDGE_IGMP_SNOOPING) += br_multicast.o br_mdb.o
228c2ecf20Sopenharmony_ci
238c2ecf20Sopenharmony_cibridge-$(CONFIG_BRIDGE_VLAN_FILTERING) += br_vlan.o br_vlan_tunnel.o br_vlan_options.o
248c2ecf20Sopenharmony_ci
258c2ecf20Sopenharmony_cibridge-$(CONFIG_NET_SWITCHDEV) += br_switchdev.o
268c2ecf20Sopenharmony_ci
278c2ecf20Sopenharmony_ciobj-$(CONFIG_NETFILTER) += netfilter/
288c2ecf20Sopenharmony_ci
298c2ecf20Sopenharmony_cibridge-$(CONFIG_BRIDGE_MRP)	+= br_mrp_switchdev.o br_mrp.o br_mrp_netlink.o
30