1 # SPDX-License-Identifier: GPL-2.0
3 # Makefile for the Linux VLAN layer.
5 obj-
$(subst m
,y
,$(CONFIG_VLAN_8021Q
)) += vlan_core.o
6 obj-
$(CONFIG_VLAN_8021Q
) += 8021q.o
8 8021q-y
:= vlan.o vlan_dev.o vlan_netlink.o
9 8021q-
$(CONFIG_VLAN_8021Q_GVRP
) += vlan_gvrp.o
10 8021q-
$(CONFIG_VLAN_8021Q_MVRP
) += vlan_mvrp.o
11 8021q-
$(CONFIG_PROC_FS
) += vlanproc.o