summaryrefslogtreecommitdiff
path: root/package/kernel
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-10-19 05:01:04 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-10-19 05:01:04 +0000
commit87e6a7e4f21ff57ba3ec947614f52967f57a9cbb (patch)
tree8208ce17578f7f973398d68d3332907c4806fe9c /package/kernel
parentedc69c912bb40e98fb96f96c8975a46f3365771f (diff)
downloadmtk-20170518-87e6a7e4f21ff57ba3ec947614f52967f57a9cbb.zip
mtk-20170518-87e6a7e4f21ff57ba3ec947614f52967f57a9cbb.tar.gz
mtk-20170518-87e6a7e4f21ff57ba3ec947614f52967f57a9cbb.tar.bz2
cleanup
SVN-Revision: 5224
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/modules/network.mk15
1 files changed, 10 insertions, 5 deletions
diff --git a/package/kernel/modules/network.mk b/package/kernel/modules/network.mk
index 4c82c4c..f3ab2ff 100644
--- a/package/kernel/modules/network.mk
+++ b/package/kernel/modules/network.mk
@@ -66,7 +66,8 @@ define KernelPackage/ipsec
- xfrm_user
SUBMENU:=$(NSMENU)
DEPENDS:=@LINUX_2_6
- FILES:=\
+ KCONFIG:=$(CONFIG_NET_KEY)
+ FILES:= \
$(MODULES_DIR)/kernel/net/key/af_key.$(LINUX_KMOD_SUFFIX) \
$(MODULES_DIR)/kernel/net/xfrm/xfrm_user.$(LINUX_KMOD_SUFFIX)
endef
@@ -82,9 +83,11 @@ define KernelPackage/ipsec4
- ipcomp\\\
- xfrm4_tunnel
SUBMENU:=$(NSMENU)
+ KCONFIG:=$(CONFIG_INET_AH)
DEPENDS:=kmod-ipsec
- FILES:=\
- $(MODULES_DIR)/kernel/net/ipv4/{ah4,esp4,ipcomp,xfrm4_tunnel}.$(LINUX_KMOD_SUFFIX)
+ FILES:= $(foreach mod,ah4 esp4 ipcomp xfrm4_tunnel, \
+ $(MODULES_DIR)/kernel/net/ipv4/$(mod).$(LINUX_KMOD_SUFFIX) \
+ )
endef
$(eval $(call KernelPackage,ipsec4))
@@ -98,9 +101,11 @@ define KernelPackage/ipsec6
- ipcomp6\\\
- xfrm6_tunnel
SUBMENU:=$(NSMENU)
+ KCONFIG:=$(CONFIG_INET6_AH)
DEPENDS:=kmod-ipsec
- FILES:=\
- $(MODULES_DIR)/kernel/net/ipv6/{ah6,esp6,ipcomp6,xfrm6_tunnel}.$(LINUX_KMOD_SUFFIX)
+ FILES:= $(foreach mod,ah6 esp6 ipcomp6 xfrm6_tunnel, \
+ $(MODULES_DIR)/kernel/net/ipv6/{ah6,esp6,ipcomp6,xfrm6_tunnel}.$(LINUX_KMOD_SUFFIX) \
+ )
endef
$(eval $(call KernelPackage,ipsec6))