1 # SPDX-License-Identifier: GPL-2.0 << 2 # 1 # 3 # Makefile for the Linux VLAN layer. 2 # Makefile for the Linux VLAN layer. 4 # 3 # 5 obj-$(subst m,y,$(CONFIG_VLAN_8021Q)) += vla !! 4 # Note! Dependencies are done automagically by 'make dep', which also 6 obj-$(CONFIG_VLAN_8021Q) += 802 !! 5 # removes any old dependencies. DON'T put your own dependencies here >> 6 # unless it's something special (ie not a .c file). >> 7 # >> 8 # Note 2! The CFLAGS definition is now in the main makefile... >> 9 >> 10 O_TARGET := 8021q.o >> 11 >> 12 obj-y := vlan.o vlanproc.o vlan_dev.o >> 13 obj-m := $(O_TARGET) 7 14 8 8021q-y := vla !! 15 include $(TOPDIR)/Rules.make 9 8021q-$(CONFIG_VLAN_8021Q_GVRP) += vla << 10 8021q-$(CONFIG_VLAN_8021Q_MVRP) += vla << 11 8021q-$(CONFIG_PROC_FS) += vla <<
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.