xref: /openbmc/linux/net/l2tp/Makefile (revision d9e31d17)
121b4aaa1SJames Chapman#
221b4aaa1SJames Chapman# Makefile for the L2TP.
321b4aaa1SJames Chapman#
421b4aaa1SJames Chapman
5fd558d18SJames Chapmanobj-$(CONFIG_L2TP) += l2tp_core.o
6fd558d18SJames Chapman
7fd558d18SJames Chapman# Build l2tp as modules if L2TP is M
8fd558d18SJames Chapmanobj-$(subst y,$(CONFIG_L2TP),$(CONFIG_PPPOL2TP)) += l2tp_ppp.o
90d76751fSJames Chapmanobj-$(subst y,$(CONFIG_L2TP),$(CONFIG_L2TP_IP)) += l2tp_ip.o
10309795f4SJames Chapmanobj-$(subst y,$(CONFIG_L2TP),$(CONFIG_L2TP_V3)) += l2tp_netlink.o
11d9e31d17SJames Chapmanobj-$(subst y,$(CONFIG_L2TP),$(CONFIG_L2TP_ETH)) += l2tp_eth.o
12