[LEDE-DEV] [RFC 14/26] kernel: kmod-rxrpc: handle renamed kernel module

Hauke Mehrtens hauke at hauke-m.de
Sun Nov 26 03:45:12 PST 2017


The kernel module was renamed with kernel 4.11, handle that in the
package definition.

Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 package/kernel/linux/modules/netsupport.mk | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/package/kernel/linux/modules/netsupport.mk b/package/kernel/linux/modules/netsupport.mk
index 178a00a3ee..836034ad12 100644
--- a/package/kernel/linux/modules/netsupport.mk
+++ b/package/kernel/linux/modules/netsupport.mk
@@ -925,9 +925,10 @@ define KernelPackage/rxrpc
 	CONFIG_RXKAD=m \
 	CONFIG_AF_RXRPC_DEBUG=n
   FILES:= \
-	$(LINUX_DIR)/net/rxrpc/af-rxrpc.ko \
+	$(LINUX_DIR)/net/rxrpc/af-rxrpc.ko at lt4.11 \
+	$(LINUX_DIR)/net/rxrpc/rxrpc.ko at ge4.11 \
 	$(LINUX_DIR)/net/rxrpc/rxkad.ko at lt4.7
-  AUTOLOAD:=$(call AutoLoad,30,rxkad at lt4.7 af-rxrpc)
+  AUTOLOAD:=$(call AutoLoad,30,rxkad at lt4.7 af-rxrpc.ko at lt4.11 rxrpc.ko at ge4.11)
   DEPENDS:= +kmod-crypto-manager +kmod-crypto-pcbc +kmod-crypto-fcrypt
 endef
 
-- 
2.11.0




More information about the Lede-dev mailing list