[openwrt/openwrt] kernel: kmod-xfrm-interface requires IPv6

LEDE Commits lede-commits at lists.infradead.org
Thu Aug 5 14:21:18 PDT 2021


stintel pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/986685f4f09936bad22e6406d217c927d584bc13

commit 986685f4f09936bad22e6406d217c927d584bc13
Author: Stijn Tintel <stijn at linux-ipv6.be>
AuthorDate: Fri Mar 12 14:50:56 2021 +0200

    kernel: kmod-xfrm-interface requires IPv6
    
    The xfrm_interface module will not be built if IPv6 is not enabled in
    the kernel. Add this dependency in the kmod package to avoid people
    wondering why it doesn't build when they disabled IPv6.
    
    Signed-off-by: Stijn Tintel <stijn at linux-ipv6.be>
---
 package/kernel/linux/modules/netsupport.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/kernel/linux/modules/netsupport.mk b/package/kernel/linux/modules/netsupport.mk
index 1eec9f9b63..62d79db51e 100644
--- a/package/kernel/linux/modules/netsupport.mk
+++ b/package/kernel/linux/modules/netsupport.mk
@@ -375,7 +375,7 @@ $(eval $(call KernelPackage,ip6-vti))
 define KernelPackage/xfrm-interface
   SUBMENU:=$(NETWORK_SUPPORT_MENU)
   TITLE:=IPsec XFRM Interface
-  DEPENDS:=+kmod-ipsec4 +IPV6:kmod-ipsec6
+  DEPENDS:=@IPV6 +kmod-ipsec4 +kmod-ipsec6
   KCONFIG:=CONFIG_XFRM_INTERFACE
   FILES:=$(LINUX_DIR)/net/xfrm/xfrm_interface.ko
   AUTOLOAD:=$(call AutoProbe,xfrm_interface)



More information about the lede-commits mailing list