]>
Commit | Line | Data |
---|---|---|
b2441318 | 1 | # SPDX-License-Identifier: GPL-2.0 |
21b4aaa1 JC |
2 | # |
3 | # Makefile for the L2TP. | |
4 | # | |
5 | ||
fd558d18 JC |
6 | obj-$(CONFIG_L2TP) += l2tp_core.o |
7 | ||
3f117d6f TP |
8 | CFLAGS_l2tp_core.o += -I$(src) |
9 | ||
fd558d18 JC |
10 | # Build l2tp as modules if L2TP is M |
11 | obj-$(subst y,$(CONFIG_L2TP),$(CONFIG_PPPOL2TP)) += l2tp_ppp.o | |
0d76751f | 12 | obj-$(subst y,$(CONFIG_L2TP),$(CONFIG_L2TP_IP)) += l2tp_ip.o |
309795f4 | 13 | obj-$(subst y,$(CONFIG_L2TP),$(CONFIG_L2TP_V3)) += l2tp_netlink.o |
d9e31d17 | 14 | obj-$(subst y,$(CONFIG_L2TP),$(CONFIG_L2TP_ETH)) += l2tp_eth.o |
0ad66140 | 15 | obj-$(subst y,$(CONFIG_L2TP),$(CONFIG_L2TP_DEBUGFS)) += l2tp_debugfs.o |
a32e0eec CE |
16 | ifneq ($(CONFIG_IPV6),) |
17 | obj-$(subst y,$(CONFIG_L2TP),$(CONFIG_L2TP_IP)) += l2tp_ip6.o | |
18 | endif |