mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 06:08:08 +00:00
fixup ethernet gadget, disable EEM support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 39558
This commit is contained in:
parent
116d7fc9c2
commit
0a6385e942
@ -211,16 +211,17 @@ define KernelPackage/usb-eth-gadget
|
|||||||
KCONFIG:= \
|
KCONFIG:= \
|
||||||
CONFIG_USB_ETH \
|
CONFIG_USB_ETH \
|
||||||
CONFIG_USB_ETH_RNDIS=y \
|
CONFIG_USB_ETH_RNDIS=y \
|
||||||
CONFIG_USB_ETH_EEM=y
|
CONFIG_USB_ETH_EEM=n
|
||||||
DEPENDS:=+kmod-usb-gadget +(!LINUX_3_3&&!LINUX_3_6):kmod-usb-lib-composite
|
DEPENDS:=+kmod-usb-gadget +(!LINUX_3_3&&!LINUX_3_6):kmod-usb-lib-composite
|
||||||
ifneq ($(wildcard $(LINUX_DIR)/drivers/usb/gadget/u_ether.ko),)
|
ifneq ($(wildcard $(LINUX_DIR)/drivers/usb/gadget/u_ether.ko),)
|
||||||
FILES:= \
|
FILES:= \
|
||||||
$(LINUX_DIR)/drivers/usb/gadget/u_ether.ko \
|
$(LINUX_DIR)/drivers/usb/gadget/u_ether.ko \
|
||||||
$(LINUX_DIR)/drivers/usb/gadget/u_rndis.ko \
|
$(LINUX_DIR)/drivers/usb/gadget/u_rndis.ko \
|
||||||
|
$(LINUX_DIR)/drivers/usb/gadget/usb_f_ecm.ko \
|
||||||
|
$(LINUX_DIR)/drivers/usb/gadget/usb_f_ecm_subset.ko \
|
||||||
$(LINUX_DIR)/drivers/usb/gadget/usb_f_rndis.ko \
|
$(LINUX_DIR)/drivers/usb/gadget/usb_f_rndis.ko \
|
||||||
$(LINUX_DIR)/drivers/usb/gadget/usb_f_eem.ko \
|
|
||||||
$(LINUX_DIR)/drivers/usb/gadget/g_ether.ko
|
$(LINUX_DIR)/drivers/usb/gadget/g_ether.ko
|
||||||
AUTOLOAD:=$(call AutoLoad,52,g_ether)
|
AUTOLOAD:=$(call AutoLoad,52,usb_f_ecm g_ether)
|
||||||
else
|
else
|
||||||
FILES:=$(LINUX_DIR)/drivers/usb/gadget/g_ether.ko
|
FILES:=$(LINUX_DIR)/drivers/usb/gadget/g_ether.ko
|
||||||
AUTOLOAD:=$(call AutoLoad,52,g_ether)
|
AUTOLOAD:=$(call AutoLoad,52,g_ether)
|
||||||
|
Loading…
Reference in New Issue
Block a user