From: blogic Date: Mon, 16 Feb 2015 08:00:17 +0000 (+0000) Subject: linux: fix kmod-usb-net-* for >= 3.17 X-Git-Url: https://git.archive.openwrt.org/?p=openwrt.git;a=commitdiff_plain;h=e75f39c55fe769bfb28b4d3cbca7d6197873160d;hp=ccdf6dc010518b1b44248c934f57e83f22d1e64c linux: fix kmod-usb-net-* for >= 3.17 Kernel commit 1bb5a356c3ea ("net: reduce USB network driver config options.") hid the USB network drivers behind the new config symbol CONFIG_USB_NET_DRIVERS. Signed-off-by: Bjørn Mork git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44460 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk index 431c7baa2c..6faa437bca 100644 --- a/package/kernel/linux/modules/usb.mk +++ b/package/kernel/linux/modules/usb.mk @@ -992,7 +992,8 @@ $(eval $(call KernelPackage,usb-atm-cxacru)) define KernelPackage/usb-net TITLE:=Kernel modules for USB-to-Ethernet convertors DEPENDS:=+kmod-mii - KCONFIG:=CONFIG_USB_USBNET + KCONFIG:=CONFIG_USB_USBNET \ + CONFIG_USB_NET_DRIVERS@ge3.18 AUTOLOAD:=$(call AutoProbe,usbnet) FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/usbnet.ko $(call AddDepends/usb)