blob: 2870f41ea44debb6aa95424cb6e2c5d682e0d763 [file] [log] [blame]
James Chapman21b4aaa2010-04-02 06:18:28 +00001#
2# Makefile for the L2TP.
3#
4
James Chapmanfd558d12010-04-02 06:18:33 +00005obj-$(CONFIG_L2TP) += l2tp_core.o
6
7# Build l2tp as modules if L2TP is M
8obj-$(subst y,$(CONFIG_L2TP),$(CONFIG_PPPOL2TP)) += l2tp_ppp.o
James Chapman0d767512010-04-02 06:19:00 +00009obj-$(subst y,$(CONFIG_L2TP),$(CONFIG_L2TP_IP)) += l2tp_ip.o
James Chapman309795f2010-04-02 06:19:10 +000010obj-$(subst y,$(CONFIG_L2TP),$(CONFIG_L2TP_V3)) += l2tp_netlink.o
James Chapmand9e31d12010-04-02 06:19:26 +000011obj-$(subst y,$(CONFIG_L2TP),$(CONFIG_L2TP_ETH)) += l2tp_eth.o
James Chapman0ad66142010-04-02 06:19:33 +000012obj-$(subst y,$(CONFIG_L2TP),$(CONFIG_L2TP_DEBUGFS)) += l2tp_debugfs.o
Chris Elstona32e0ee2012-04-29 21:48:54 +000013ifneq ($(CONFIG_IPV6),)
14obj-$(subst y,$(CONFIG_L2TP),$(CONFIG_L2TP_IP)) += l2tp_ip6.o
15endif