xref: /OK3568_Linux_fs/kernel/net/8021q/Makefile (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0
2*4882a593Smuzhiyun#
3*4882a593Smuzhiyun# Makefile for the Linux VLAN layer.
4*4882a593Smuzhiyun#
5*4882a593Smuzhiyunobj-$(subst m,y,$(CONFIG_VLAN_8021Q))	+= vlan_core.o
6*4882a593Smuzhiyunobj-$(CONFIG_VLAN_8021Q)		+= 8021q.o
7*4882a593Smuzhiyun
8*4882a593Smuzhiyun8021q-y					:= vlan.o vlan_dev.o vlan_netlink.o
9*4882a593Smuzhiyun8021q-$(CONFIG_VLAN_8021Q_GVRP)		+= vlan_gvrp.o
10*4882a593Smuzhiyun8021q-$(CONFIG_VLAN_8021Q_MVRP)		+= vlan_mvrp.o
11*4882a593Smuzhiyun8021q-$(CONFIG_PROC_FS)			+= vlanproc.o
12