mirror of https://github.com/hak5/openwrt-owl.git
modules/usb: cleanup remove old module names
delete cases for Kernel <3.10 (nop-usb-xceiv), <3.12 (phy-nop) Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> SVN-Revision: 45733owl
parent
ab84e2d704
commit
c0b0ee9d9e
|
@ -103,18 +103,8 @@ define KernelPackage/usb-phy-nop
|
|||
TITLE:=Support for USB NOP transceiver
|
||||
KCONFIG:=CONFIG_NOP_USB_XCEIV
|
||||
HIDDEN:=1
|
||||
ifneq ($(wildcard $(LINUX_DIR)/drivers/usb/phy/phy-generic.ko),)
|
||||
FILES:=$(LINUX_DIR)/drivers/usb/phy/phy-generic.ko
|
||||
AUTOLOAD:=$(call AutoLoad,43,phy-generic)
|
||||
else
|
||||
ifneq ($(wildcard $(LINUX_DIR)/drivers/usb/phy/phy-nop.ko),)
|
||||
FILES:=$(LINUX_DIR)/drivers/usb/phy/phy-nop.ko
|
||||
AUTOLOAD:=$(call AutoLoad,43,phy-nop)
|
||||
else
|
||||
FILES:=$(LINUX_DIR)/drivers/usb/otg/nop-usb-xceiv.ko
|
||||
AUTOLOAD:=$(call AutoLoad,43,nop-usb-xceiv)
|
||||
endif
|
||||
endif
|
||||
$(call AddDepends/usb)
|
||||
endef
|
||||
|
||||
|
|
Loading…
Reference in New Issue