blob: 399a7e5db2f4a7a57741fce3d0e503bb479d95a9 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
James Chapman21b4aaa2010-04-02 06:18:28 +00002#
3# Makefile for the L2TP.
4#
5
James Chapmanfd558d12010-04-02 06:18:33 +00006obj-$(CONFIG_L2TP) += l2tp_core.o
7
8# Build l2tp as modules if L2TP is M
9obj-$(subst y,$(CONFIG_L2TP),$(CONFIG_PPPOL2TP)) += l2tp_ppp.o
James Chapman0d767512010-04-02 06:19:00 +000010obj-$(subst y,$(CONFIG_L2TP),$(CONFIG_L2TP_IP)) += l2tp_ip.o
James Chapman309795f2010-04-02 06:19:10 +000011obj-$(subst y,$(CONFIG_L2TP),$(CONFIG_L2TP_V3)) += l2tp_netlink.o
James Chapmand9e31d12010-04-02 06:19:26 +000012obj-$(subst y,$(CONFIG_L2TP),$(CONFIG_L2TP_ETH)) += l2tp_eth.o
James Chapman0ad66142010-04-02 06:19:33 +000013obj-$(subst y,$(CONFIG_L2TP),$(CONFIG_L2TP_DEBUGFS)) += l2tp_debugfs.o
Chris Elstona32e0ee2012-04-29 21:48:54 +000014ifneq ($(CONFIG_IPV6),)
15obj-$(subst y,$(CONFIG_L2TP),$(CONFIG_L2TP_IP)) += l2tp_ip6.o
16endif