Explorar o código

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

The flexcan.ko file was moved in upstream Linux:
https://git.kernel.org/linus/bfd00e021cf162049946a9e0047b0997d2b35fec
This fixes the build with kernel >= 5.17. This module was never build
with kernel 6.1 before.

Signed-off-by: Hauke Mehrtens <[email protected]>
Hauke Mehrtens %!s(int64=2) %!d(string=hai) anos
pai
achega
d249635c5b
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      package/kernel/linux/modules/can.mk

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

@@ -119,7 +119,9 @@ $(eval $(call KernelPackage,can-c-can-platform))
 define KernelPackage/can-flexcan
   TITLE:=Support for Freescale FLEXCAN based chips
   KCONFIG:=CONFIG_CAN_FLEXCAN
-  FILES:=$(LINUX_DIR)/drivers/net/can/flexcan.ko
+  FILES:= \
+	$(LINUX_DIR)/drivers/net/can/[email protected] \
+	$(LINUX_DIR)/drivers/net/can/flexcan/[email protected]
   AUTOLOAD:=$(call AutoProbe,flexcan)
   $(call AddDepends/can,@TARGET_imx)
 endef