1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0 221b4aaa1SJames Chapman# 321b4aaa1SJames Chapman# Makefile for the L2TP. 421b4aaa1SJames Chapman# 521b4aaa1SJames Chapman 6fd558d18SJames Chapmanobj-$(CONFIG_L2TP) += l2tp_core.o 7fd558d18SJames Chapman 8fd558d18SJames Chapman# Build l2tp as modules if L2TP is M 9fd558d18SJames Chapmanobj-$(subst y,$(CONFIG_L2TP),$(CONFIG_PPPOL2TP)) += l2tp_ppp.o 100d76751fSJames Chapmanobj-$(subst y,$(CONFIG_L2TP),$(CONFIG_L2TP_IP)) += l2tp_ip.o 11309795f4SJames Chapmanobj-$(subst y,$(CONFIG_L2TP),$(CONFIG_L2TP_V3)) += l2tp_netlink.o 12d9e31d17SJames Chapmanobj-$(subst y,$(CONFIG_L2TP),$(CONFIG_L2TP_ETH)) += l2tp_eth.o 130ad66140SJames Chapmanobj-$(subst y,$(CONFIG_L2TP),$(CONFIG_L2TP_DEBUGFS)) += l2tp_debugfs.o 14a32e0eecSChris Elstonifneq ($(CONFIG_IPV6),) 15a32e0eecSChris Elstonobj-$(subst y,$(CONFIG_L2TP),$(CONFIG_L2TP_IP)) += l2tp_ip6.o 16a32e0eecSChris Elstonendif 17