18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0 28c2ecf20Sopenharmony_ci# 38c2ecf20Sopenharmony_ci# Makefile for the L2TP. 48c2ecf20Sopenharmony_ci# 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ciobj-$(CONFIG_L2TP) += l2tp_core.o 78c2ecf20Sopenharmony_ci 88c2ecf20Sopenharmony_ciCFLAGS_l2tp_core.o += -I$(src) 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_ci# Build l2tp as modules if L2TP is M 118c2ecf20Sopenharmony_ciobj-$(subst y,$(CONFIG_L2TP),$(CONFIG_PPPOL2TP)) += l2tp_ppp.o 128c2ecf20Sopenharmony_ciobj-$(subst y,$(CONFIG_L2TP),$(CONFIG_L2TP_IP)) += l2tp_ip.o 138c2ecf20Sopenharmony_ciobj-$(subst y,$(CONFIG_L2TP),$(CONFIG_L2TP_V3)) += l2tp_netlink.o 148c2ecf20Sopenharmony_ciobj-$(subst y,$(CONFIG_L2TP),$(CONFIG_L2TP_ETH)) += l2tp_eth.o 158c2ecf20Sopenharmony_ciobj-$(subst y,$(CONFIG_L2TP),$(CONFIG_L2TP_DEBUGFS)) += l2tp_debugfs.o 168c2ecf20Sopenharmony_ciifneq ($(CONFIG_IPV6),) 178c2ecf20Sopenharmony_ciobj-$(subst y,$(CONFIG_L2TP),$(CONFIG_L2TP_IP)) += l2tp_ip6.o 188c2ecf20Sopenharmony_ciendif 19