aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorKarl Pálsson <karlp@etactica.com>2018-12-20 09:55:09 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2019-01-27 01:04:37 +0100
commit04b418ac848ed9de37900e5c713ff35cddc43ad6 (patch)
treedddc67ae3fe193b515271424ae263323e66df8e5 /package
parentcbbef976e2b358fa3039b02ada7e7904a9603653 (diff)
downloadupstream-04b418ac848ed9de37900e5c713ff35cddc43ad6.tar.gz
upstream-04b418ac848ed9de37900e5c713ff35cddc43ad6.tar.bz2
upstream-04b418ac848ed9de37900e5c713ff35cddc43ad6.zip
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>
Diffstat (limited to 'package')
-rw-r--r--package/kernel/linux/modules/usb.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk
index c5991141b5..88bb4a91eb 100644
--- a/package/kernel/linux/modules/usb.mk
+++ b/package/kernel/linux/modules/usb.mk
@@ -237,6 +237,22 @@ endef
$(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
TITLE:=Support for UHCI controllers