Skip to content
Browse files

kernel: add kmod-usb-gadget-cdc-composite

This builds the "g_cdc" gadget module, providing ethernet+serial.

Signed-off-by: Karl Pálsson <>
  • Loading branch information...
karlp authored and hauke committed Dec 20, 2018
1 parent cbbef97 commit 04b418ac848ed9de37900e5c713ff35cddc43ad6
Showing with 16 additions and 0 deletions.
  1. +16 −0 package/kernel/linux/modules/
@@ -237,6 +237,22 @@ endef

$(eval $(call KernelPackage,usb-gadget-mass-storage))

define KernelPackage/usb-gadget-cdc-composite
TITLE:= USB CDC Composite (Ethernet + ACM)
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)

define KernelPackage/usb-gadget-cdc-composite/description
Kernel support for the USB CDC Composite gadget.
This appears as an ethernet + ACM serial gadget.

$(eval $(call KernelPackage,usb-gadget-cdc-composite))

define KernelPackage/usb-uhci
TITLE:=Support for UHCI controllers

0 comments on commit 04b418a

Please sign in to comment.
You can’t perform that action at this time.