summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2008-03-27 15:44:14 +0000
committerFlorian Fainelli <florian@openwrt.org>2008-03-27 15:44:14 +0000
commite9c19c7de9578ea171880d8e650170582f20c579 (patch)
treec84fed0faa678d304bd4c22d2a822121a26a7e47 /package
parent9a3d8e3163cc0a8111ae42015aed35527acd1519 (diff)
downloadmtk-20170518-e9c19c7de9578ea171880d8e650170582f20c579.zip
mtk-20170518-e9c19c7de9578ea171880d8e650170582f20c579.tar.gz
mtk-20170518-e9c19c7de9578ea171880d8e650170582f20c579.tar.bz2
Create a dummy sit package for 2.4 kernelsq
SVN-Revision: 10668
Diffstat (limited to 'package')
-rw-r--r--package/kernel/modules/network.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/package/kernel/modules/network.mk b/package/kernel/modules/network.mk
index f15517b..174b746 100644
--- a/package/kernel/modules/network.mk
+++ b/package/kernel/modules/network.mk
@@ -240,6 +240,15 @@ $(eval $(call KernelPackage,ipv6))
define KernelPackage/sit
SUBMENU:=$(NETWORK_SUPPORT_MENU)
TITLE:=IPv6-in-IPv4 tunnelling
+endef
+
+# sit is compiled in the 2.4 ipv6 stack
+define KernelPackage/sit/2.4
+ DEPENDS:= @LINUX_2_4 +kmod-ipv6
+ KCONFIG:=CONFIG_IPV6
+endef
+
+define KernelPackage/sit/2.6
DEPENDS:= @LINUX_2_6 +kmod-ipv6 +kmod-iptunnel4
KCONFIG+=CONFIG_IPV6_SIT
FILES:=$(LINUX_DIR)/net/ipv6/sit.$(LINUX_KMOD_SUFFIX)