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