From da0444cb98e698043fa3b208e3dc80b82a928d03 Mon Sep 17 00:00:00 2001 From: nbd Date: Thu, 19 Oct 2006 05:01:04 +0000 Subject: cleanup git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5224 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/kernel/modules/network.mk | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'package') diff --git a/package/kernel/modules/network.mk b/package/kernel/modules/network.mk index 4c82c4cc0..f3ab2ff70 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)) -- cgit v1.2.3