xref: /openbmc/linux/net/8021q/Makefile (revision e446a276)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
21da177e4SLinus Torvalds#
31da177e4SLinus Torvalds# Makefile for the Linux VLAN layer.
41da177e4SLinus Torvalds#
57750f403SPatrick McHardyobj-$(subst m,y,$(CONFIG_VLAN_8021Q))	+= vlan_core.o
61da177e4SLinus Torvaldsobj-$(CONFIG_VLAN_8021Q)		+= 8021q.o
71da177e4SLinus Torvalds
870c03b49SPatrick McHardy8021q-y					:= vlan.o vlan_dev.o vlan_netlink.o
970c03b49SPatrick McHardy8021q-$(CONFIG_VLAN_8021Q_GVRP)		+= vlan_gvrp.o
1086fbe9bbSDavid Ward8021q-$(CONFIG_VLAN_8021Q_MVRP)		+= vlan_mvrp.o
1170c03b49SPatrick McHardy8021q-$(CONFIG_PROC_FS)			+= vlanproc.o
12