Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | # |
| 3 | # Makefile for the Linux VLAN layer. |
| 4 | # |
Patrick McHardy | 7750f40 | 2008-07-08 03:23:36 -0700 | [diff] [blame] | 5 | obj-$(subst m,y,$(CONFIG_VLAN_8021Q)) += vlan_core.o |
| 6 | obj-$(CONFIG_VLAN_8021Q) += 8021q.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 7 | |
Patrick McHardy | 7750f40 | 2008-07-08 03:23:36 -0700 | [diff] [blame] | 8 | 8021q-y := vlan.o vlan_dev.o vlan_netlink.o |
| 9 | 8021q-$(CONFIG_VLAN_8021Q_GVRP) += vlan_gvrp.o |
David Ward | 86fbe9b | 2013-02-08 17:17:07 +0000 | [diff] [blame] | 10 | 8021q-$(CONFIG_VLAN_8021Q_MVRP) += vlan_mvrp.o |
Patrick McHardy | 7750f40 | 2008-07-08 03:23:36 -0700 | [diff] [blame] | 11 | 8021q-$(CONFIG_PROC_FS) += vlanproc.o |