Browse Source

kernel: kmod-can-slcan: Fix can-slcan.ko location

The slcan.ko file was moved in upstream Linux:
https://git.kernel.org/linus/98b12064591d635db86da4957b547067dc6897cc
This fixes the build with kernel >= 6.0. This module was never build
with kernel 6.1 before.

Signed-off-by: Hauke Mehrtens <[email protected]>
Hauke Mehrtens 1 year ago
parent
commit
712cda1351
1 changed files with 3 additions and 1 deletions
  1. 3 1
      package/kernel/linux/modules/can.mk

+ 3 - 1
package/kernel/linux/modules/can.mk

@@ -182,7 +182,9 @@ $(eval $(call KernelPackage,can-raw))
 define KernelPackage/can-slcan
   TITLE:=Serial / USB serial CAN Adaptors (slcan)
   KCONFIG:=CONFIG_CAN_SLCAN
-  FILES:=$(LINUX_DIR)/drivers/net/can/slcan.ko
+  FILES:= \
+	$(LINUX_DIR)/drivers/net/can/[email protected] \
+	$(LINUX_DIR)/drivers/net/can/slcan/[email protected]
   AUTOLOAD:=$(call AutoProbe,slcan)
   $(call AddDepends/can)
 endef