summaryrefslogtreecommitdiff
path: root/openwrt/target/linux
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2006-05-19 09:52:54 +0000
committerFlorian Fainelli <florian@openwrt.org>2006-05-19 09:52:54 +0000
commit2cfc87015fd7b23935bcc281853435697f3a77f4 (patch)
tree1a0abe235e5a3e487d22c7315abae9e4c6e3d449 /openwrt/target/linux
parent07ef7f6a89b310b1336b975ecac908b871bbf31a (diff)
downloadmtk-20170518-2cfc87015fd7b23935bcc281853435697f3a77f4.zip
mtk-20170518-2cfc87015fd7b23935bcc281853435697f3a77f4.tar.gz
mtk-20170518-2cfc87015fd7b23935bcc281853435697f3a77f4.tar.bz2
Add kmod-ipip, closes #539
SVN-Revision: 3799
Diffstat (limited to 'openwrt/target/linux')
-rw-r--r--openwrt/target/linux/Config.in7
-rw-r--r--openwrt/target/linux/control/kmod-ipip.control4
-rw-r--r--openwrt/target/linux/generic-2.4/modules.mk3
-rw-r--r--openwrt/target/linux/generic-2.6/modules.mk4
4 files changed, 18 insertions, 0 deletions
diff --git a/openwrt/target/linux/Config.in b/openwrt/target/linux/Config.in
index c642711..eae8b43 100644
--- a/openwrt/target/linux/Config.in
+++ b/openwrt/target/linux/Config.in
@@ -54,6 +54,13 @@ config BR2_PACKAGE_KMOD_IMQ
help
Kernel support for the Intermediate Queueing device
+config BR2_PACKAGE_KMOD_IPIP
+ prompt "kmod-ipip......................... IP in IP encapsulation support"
+ tristate
+ default m
+ help
+ Kernel module for IP in IP encapsulation
+
config BR2_PACKAGE_KMOD_IPV6
prompt "kmod-ipv6......................... IPv6 support"
tristate
diff --git a/openwrt/target/linux/control/kmod-ipip.control b/openwrt/target/linux/control/kmod-ipip.control
new file mode 100644
index 0000000..99bf0ec
--- /dev/null
+++ b/openwrt/target/linux/control/kmod-ipip.control
@@ -0,0 +1,4 @@
+Package: kmod-ipip
+Section: sys
+Priority: optional
+Description: IP in IP encapsulation support
diff --git a/openwrt/target/linux/generic-2.4/modules.mk b/openwrt/target/linux/generic-2.4/modules.mk
index afb1f7c..540ac71 100644
--- a/openwrt/target/linux/generic-2.4/modules.mk
+++ b/openwrt/target/linux/generic-2.4/modules.mk
@@ -15,6 +15,9 @@ $(eval $(call KMOD_template,IMQ,imq,\
$(MODULES_DIR)/kernel/net/ipv4/netfilter/*IMQ*.o \
$(MODULES_DIR)/kernel/drivers/net/imq.o \
))
+$(eval $(call KMOD_template,IPIP,ipip,\
+ $(MODULES_DIR)/kernel/net/ipv4/ipip.o \
+,CONFIG_NET_IPIP,,60,ipip))
$(eval $(call KMOD_template,IPV6,ipv6,\
$(MODULES_DIR)/kernel/net/ipv6/ipv6.o \
diff --git a/openwrt/target/linux/generic-2.6/modules.mk b/openwrt/target/linux/generic-2.6/modules.mk
index e29360e..8157a4c 100644
--- a/openwrt/target/linux/generic-2.6/modules.mk
+++ b/openwrt/target/linux/generic-2.6/modules.mk
@@ -18,6 +18,10 @@ $(eval $(call KMOD_template,IMQ,imq,\
$(MODULES_DIR)/kernel/drivers/net/imq.ko \
))
+$(eval $(call KMOD_template,IPIP,ipip,\
+ $(MODULES_DIR)/kernel/net/ipv4/ipip.o \
+,CONFIG_NET_IPIP,,60,ipip))
+
$(eval $(call KMOD_template,IPV6,ipv6,\
$(MODULES_DIR)/kernel/net/ipv6/ipv6.ko \
,CONFIG_IPV6,,20,ipv6))