f2fs: Provide a splice-read wrapper
[linux-block.git] / net / l2tp / Makefile
CommitLineData
b2441318 1# SPDX-License-Identifier: GPL-2.0
21b4aaa1
JC
2#
3# Makefile for the L2TP.
4#
5
fd558d18
JC
6obj-$(CONFIG_L2TP) += l2tp_core.o
7
3f117d6f
TP
8CFLAGS_l2tp_core.o += -I$(src)
9
fd558d18
JC
10# Build l2tp as modules if L2TP is M
11obj-$(subst y,$(CONFIG_L2TP),$(CONFIG_PPPOL2TP)) += l2tp_ppp.o
0d76751f 12obj-$(subst y,$(CONFIG_L2TP),$(CONFIG_L2TP_IP)) += l2tp_ip.o
309795f4 13obj-$(subst y,$(CONFIG_L2TP),$(CONFIG_L2TP_V3)) += l2tp_netlink.o
d9e31d17 14obj-$(subst y,$(CONFIG_L2TP),$(CONFIG_L2TP_ETH)) += l2tp_eth.o
0ad66140 15obj-$(subst y,$(CONFIG_L2TP),$(CONFIG_L2TP_DEBUGFS)) += l2tp_debugfs.o
a32e0eec
CE
16ifneq ($(CONFIG_IPV6),)
17obj-$(subst y,$(CONFIG_L2TP),$(CONFIG_L2TP_IP)) += l2tp_ip6.o
18endif