[OpenWrt-Devel] [PATCH] linux/modules: select CONFIG_USB_NET_DRIVERS for kmod-usb-net
Daniel Golle
daniel at makrotopia.org
Sun Feb 15 18:41:54 EST 2015
USB network drivers gained their own sub-menu. Thus they are only
visible and built if CONFIG_USB_NET_DRIVERS=y on recent kernels.
Set that symbol when building kmod-usb-net.
Signed-off-by: Daniel Golle <daniel at makrotopia.org>
---
package/kernel/linux/modules/usb.mk | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk
index 431c7ba..7384959 100644
--- a/package/kernel/linux/modules/usb.mk
+++ b/package/kernel/linux/modules/usb.mk
@@ -992,7 +992,9 @@ $(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=y
AUTOLOAD:=$(call AutoProbe,usbnet)
FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/usbnet.ko
$(call AddDepends/usb)
--
2.3.0
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list