[OpenWrt-Devel] [RFC 10/27] kernel: Adapt to moved kvaser_usb.ko in kernel 4.19
Hauke Mehrtens
hauke at hauke-m.de
Tue Nov 27 18:14:32 EST 2018
In kernel 4.19 the kvaser_usb.ko file moved into its own directory.
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
package/kernel/linux/modules/can.mk | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/package/kernel/linux/modules/can.mk b/package/kernel/linux/modules/can.mk
index 925de4d8a5..4154ceba72 100644
--- a/package/kernel/linux/modules/can.mk
+++ b/package/kernel/linux/modules/can.mk
@@ -231,7 +231,9 @@ $(eval $(call KernelPackage,can-usb-esd))
define KernelPackage/can-usb-kvaser
TITLE:=Kvaser CAN/USB interface
KCONFIG:=CONFIG_CAN_KVASER_USB
- FILES:=$(LINUX_DIR)/drivers/net/can/usb/kvaser_usb.ko
+ FILES:= \
+ $(LINUX_DIR)/drivers/net/can/usb/kvaser_usb.ko at lt4.19 \
+ $(LINUX_DIR)/drivers/net/can/usb/kvaser_usb/kvaser_usb.ko at ge4.19
AUTOLOAD:=$(call AutoProbe,kvaser_usb)
$(call AddDepends/can,+kmod-usb-core)
endef
--
2.11.0
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list