mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-03 12:34:19 +00:00
kernel: add kmod-usb-gadget-cdc-composite
This builds the "g_cdc" gadget module, providing ethernet+serial. Signed-off-by: Karl Pálsson <karlp@etactica.com>
This commit is contained in:
parent
cbbef976e2
commit
04b418ac84
@ -237,6 +237,22 @@ endef
|
|||||||
|
|
||||||
$(eval $(call KernelPackage,usb-gadget-mass-storage))
|
$(eval $(call KernelPackage,usb-gadget-mass-storage))
|
||||||
|
|
||||||
|
define KernelPackage/usb-gadget-cdc-composite
|
||||||
|
TITLE:= USB CDC Composite (Ethernet + ACM)
|
||||||
|
KCONFIG:=CONFIG_USB_CDC_COMPOSITE
|
||||||
|
DEPENDS:=+kmod-usb-gadget +kmod-usb-lib-composite \
|
||||||
|
+kmod-usb-gadget-eth +kmod-usb-gadget-serial
|
||||||
|
FILES:= $(LINUX_DIR)/drivers/usb/gadget/legacy/g_cdc.ko
|
||||||
|
$(call AddDepends/usb)
|
||||||
|
endef
|
||||||
|
|
||||||
|
define KernelPackage/usb-gadget-cdc-composite/description
|
||||||
|
Kernel support for the USB CDC Composite gadget.
|
||||||
|
This appears as an ethernet + ACM serial gadget.
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call KernelPackage,usb-gadget-cdc-composite))
|
||||||
|
|
||||||
|
|
||||||
define KernelPackage/usb-uhci
|
define KernelPackage/usb-uhci
|
||||||
TITLE:=Support for UHCI controllers
|
TITLE:=Support for UHCI controllers
|
||||||
|
Loading…
Reference in New Issue
Block a user