[source] kernel: fix kmod-rxrpc with kernel 4.9

LEDE Commits lede-commits at lists.infradead.org
Sun Feb 12 04:57:03 PST 2017


nbd pushed a commit to source.git, branch master:
https://git.lede-project.org/5c651b029e2dfb5cc68b8803bf550e62da643289

commit 5c651b029e2dfb5cc68b8803bf550e62da643289
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Sat Feb 11 23:30:30 2017 +0100

    kernel: fix kmod-rxrpc with kernel 4.9
    
    rxkad will be build into af-rxrpc now and is of type boolean.
    
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 package/kernel/linux/modules/netsupport.mk | 4 ++--
 target/linux/generic/config-4.9            | 3 +++
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/package/kernel/linux/modules/netsupport.mk b/package/kernel/linux/modules/netsupport.mk
index dc6e0cb..b2764e5 100644
--- a/package/kernel/linux/modules/netsupport.mk
+++ b/package/kernel/linux/modules/netsupport.mk
@@ -924,8 +924,8 @@ define KernelPackage/rxrpc
 	CONFIG_AF_RXRPC_DEBUG=n
   FILES:= \
 	$(LINUX_DIR)/net/rxrpc/af-rxrpc.ko \
-	$(LINUX_DIR)/net/rxrpc/rxkad.ko
-  AUTOLOAD:=$(call AutoLoad,30,rxkad af-rxrpc)
+	$(LINUX_DIR)/net/rxrpc/rxkad.ko at lt4.7
+  AUTOLOAD:=$(call AutoLoad,30,rxkad at lt4.7 af-rxrpc)
   DEPENDS:= +kmod-crypto-manager +kmod-crypto-pcbc +kmod-crypto-fcrypt
 endef
 
diff --git a/target/linux/generic/config-4.9 b/target/linux/generic/config-4.9
index b762e3b..9deac11 100644
--- a/target/linux/generic/config-4.9
+++ b/target/linux/generic/config-4.9
@@ -98,6 +98,8 @@ CONFIG_AEABI=y
 # CONFIG_AFS_FS is not set
 # CONFIG_AF_KCM is not set
 # CONFIG_AF_RXRPC is not set
+# CONFIG_AF_RXRPC_IPV6 is not set
+# CONFIG_AF_RXRPC_INJECT_LOSS is not set
 # CONFIG_AGP is not set
 # CONFIG_AHCI_CEVA is not set
 # CONFIG_AHCI_IMX is not set
@@ -3544,6 +3546,7 @@ CONFIG_RTC_SYSTOHC_DEVICE="rtc0"
 # CONFIG_RTS5208 is not set
 CONFIG_RT_MUTEXES=y
 # CONFIG_RUNTIME_DEBUG is not set
+CONFIG_RXKAD=y
 CONFIG_RWSEM_GENERIC_SPINLOCK=y
 # CONFIG_S2IO is not set
 # CONFIG_SAMPLES is not set



More information about the lede-commits mailing list