Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
James Chapman | 21b4aaa | 2010-04-02 06:18:28 +0000 | [diff] [blame] | 2 | # |
| 3 | # Makefile for the L2TP. |
| 4 | # |
| 5 | |
James Chapman | fd558d1 | 2010-04-02 06:18:33 +0000 | [diff] [blame] | 6 | obj-$(CONFIG_L2TP) += l2tp_core.o |
| 7 | |
| 8 | # Build l2tp as modules if L2TP is M |
| 9 | obj-$(subst y,$(CONFIG_L2TP),$(CONFIG_PPPOL2TP)) += l2tp_ppp.o |
James Chapman | 0d76751 | 2010-04-02 06:19:00 +0000 | [diff] [blame] | 10 | obj-$(subst y,$(CONFIG_L2TP),$(CONFIG_L2TP_IP)) += l2tp_ip.o |
James Chapman | 309795f | 2010-04-02 06:19:10 +0000 | [diff] [blame] | 11 | obj-$(subst y,$(CONFIG_L2TP),$(CONFIG_L2TP_V3)) += l2tp_netlink.o |
James Chapman | d9e31d1 | 2010-04-02 06:19:26 +0000 | [diff] [blame] | 12 | obj-$(subst y,$(CONFIG_L2TP),$(CONFIG_L2TP_ETH)) += l2tp_eth.o |
James Chapman | 0ad6614 | 2010-04-02 06:19:33 +0000 | [diff] [blame] | 13 | obj-$(subst y,$(CONFIG_L2TP),$(CONFIG_L2TP_DEBUGFS)) += l2tp_debugfs.o |
Chris Elston | a32e0ee | 2012-04-29 21:48:54 +0000 | [diff] [blame] | 14 | ifneq ($(CONFIG_IPV6),) |
| 15 | obj-$(subst y,$(CONFIG_L2TP),$(CONFIG_L2TP_IP)) += l2tp_ip6.o |
| 16 | endif |