OSDN Git Service

l2tp: Split pppol2tp patch into separate l2tp and ppp parts
[android-x86/kernel.git] / net / l2tp / Makefile
index 9af41e8..c91f208 100644 (file)
@@ -2,4 +2,7 @@
 # Makefile for the L2TP.
 #
 
-obj-$(CONFIG_PPPOL2TP) += pppol2tp.o
+obj-$(CONFIG_L2TP) += l2tp_core.o
+
+# Build l2tp as modules if L2TP is M
+obj-$(subst y,$(CONFIG_L2TP),$(CONFIG_PPPOL2TP)) += l2tp_ppp.o