summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/modules-2.6.mk4
-rw-r--r--package/kernel/modules.mk9
2 files changed, 9 insertions, 4 deletions
diff --git a/include/modules-2.6.mk b/include/modules-2.6.mk
index 950ff5678..fecaaba60 100644
--- a/include/modules-2.6.mk
+++ b/include/modules-2.6.mk
@@ -15,10 +15,6 @@ $(eval $(call KMOD_template,ATM,atm,\
$(MODULES_DIR)/kernel/drivers/atm/atmtcp.ko \
,CONFIG_ATM,,50,atm))
-$(eval $(call KMOD_template,IPIP,ipip,\
- $(MODULES_DIR)/kernel/net/ipv4/ipip.ko \
-,CONFIG_NET_IPIP,,60,ipip))
-
# Block devices
$(eval $(call KMOD_template,LOOP,loop,\
diff --git a/package/kernel/modules.mk b/package/kernel/modules.mk
index 17ad12b35..2ce3ba91e 100644
--- a/package/kernel/modules.mk
+++ b/package/kernel/modules.mk
@@ -303,6 +303,15 @@ define KernelPackage/ebtables
endef
$(eval $(call KernelPackage,ebtables))
+define KernelPackage/ipip
+ TITLE:=IP in IP encapsulation support
+ DESCRIPTION:=\
+ Kernel modules for IP in IP encapsulation
+ FILES:=$(MODULES_DIR)/kernel/net/ipv4/ipip.$(LINUX_KMOD_SUFFIX)
+ KCONFIG:=$(CONFIG_NET_IPIP)
+endef
+$(eval $(call KernelPackage,ipip))
+
define KernelPackage/ipv6
TITLE:=IPv6 support