kernel: add option for USB FunctionFS gadget
authorDominic Germain <dominic@germain.cc>
Fri, 19 Dec 2025 14:46:57 +0000 (09:46 -0500)
committerHauke Mehrtens <hauke@hauke-m.de>
Thu, 25 Dec 2025 15:22:49 +0000 (16:22 +0100)
commit8bf13dcb36940f2d656ea8d24cbdf4320bee5e72
treef83de99cdbf8203d5a3c81e106e042b3816f970b
parentc8b98eab98a189ae17c2221067777739a39cd603
kernel: add option for USB FunctionFS gadget

Add menuconfig option 'kmod-usb-gadget-fs' for the USB FunctionFS gadget
module

OpenWRT is perfect for USB gadgets that are network-enabled, since it
provides everything needed to easily manage the device. Having support
for the FunctionFS gadget enables the use of any custom USB devices
that does not have a specific module, like Media Transfer Protocol.

Signed-off-by: Dominic Germain <dominic@germain.cc>
Link: https://github.com/openwrt/openwrt/pull/21207
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit 22a69dfa4a9a04833aaac62b9f0a7814571b9e07)
package/kernel/linux/modules/usb.mk