aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/linux/modules/usb.mk
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2014-02-21 22:57:39 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2014-02-21 22:57:39 +0000
commitac46cbcfc0ad4699d0ece6560a682cdea8c66d07 (patch)
tree67391e235d0a8091644ee49379ba39e0f611651d /package/kernel/linux/modules/usb.mk
parent9a2493a0049551bc90cac4bbbfc5a8ff1a98fe6b (diff)
downloadupstream-ac46cbcfc0ad4699d0ece6560a682cdea8c66d07.tar.gz
upstream-ac46cbcfc0ad4699d0ece6560a682cdea8c66d07.tar.bz2
upstream-ac46cbcfc0ad4699d0ece6560a682cdea8c66d07.zip
kernel: add missing depends on kmod-mii
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 39670
Diffstat (limited to 'package/kernel/linux/modules/usb.mk')
-rw-r--r--package/kernel/linux/modules/usb.mk9
1 files changed, 2 insertions, 7 deletions
diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk
index 7c16fe7973..6537f09294 100644
--- a/package/kernel/linux/modules/usb.mk
+++ b/package/kernel/linux/modules/usb.mk
@@ -939,15 +939,10 @@ $(eval $(call KernelPackage,usb-atm-cxacru))
define KernelPackage/usb-net
TITLE:=Kernel modules for USB-to-Ethernet convertors
- KCONFIG:=CONFIG_USB_USBNET CONFIG_MII=y
+ DEPENDS:=+kmod-mii
+ KCONFIG:=CONFIG_USB_USBNET
AUTOLOAD:=$(call AutoProbe,usbnet)
-ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),lt,3.12.0)),1)
FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/usbnet.ko
-else
- FILES:=\
- $(LINUX_DIR)/drivers/$(USBNET_DIR)/usbnet.ko \
- $(LINUX_DIR)/drivers/net/mii.ko
-endif
$(call AddDepends/usb)
endef