xref: /kernel/linux/linux-6.6/net/l2tp/Makefile
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-6.6/net/l2tp/
162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
262306a36Sopenharmony_ci#
362306a36Sopenharmony_ci# Makefile for the L2TP.
462306a36Sopenharmony_ci#
562306a36Sopenharmony_ci
662306a36Sopenharmony_ciobj-$(CONFIG_L2TP) += l2tp_core.o
762306a36Sopenharmony_ci
862306a36Sopenharmony_ciCFLAGS_l2tp_core.o += -I$(src)
962306a36Sopenharmony_ci
1062306a36Sopenharmony_ci# Build l2tp as modules if L2TP is M
1162306a36Sopenharmony_ciobj-$(subst y,$(CONFIG_L2TP),$(CONFIG_PPPOL2TP)) += l2tp_ppp.o
1262306a36Sopenharmony_ciobj-$(subst y,$(CONFIG_L2TP),$(CONFIG_L2TP_IP)) += l2tp_ip.o
1362306a36Sopenharmony_ciobj-$(subst y,$(CONFIG_L2TP),$(CONFIG_L2TP_V3)) += l2tp_netlink.o
1462306a36Sopenharmony_ciobj-$(subst y,$(CONFIG_L2TP),$(CONFIG_L2TP_ETH)) += l2tp_eth.o
1562306a36Sopenharmony_ciobj-$(subst y,$(CONFIG_L2TP),$(CONFIG_L2TP_DEBUGFS)) += l2tp_debugfs.o
1662306a36Sopenharmony_ciifneq ($(CONFIG_IPV6),)
1762306a36Sopenharmony_ciobj-$(subst y,$(CONFIG_L2TP),$(CONFIG_L2TP_IP)) += l2tp_ip6.o
1862306a36Sopenharmony_ciendif
19

Indexes created Thu Nov 07 10:32:03 CST 2024