I am developing a USB Gadget for my DDC-10 board with NET2272. I want this gadget to be conveniently handled by the kernel build system, and in particular by menuconfig. Are there any recommendation how and where to add the new gadget? At this point I am modifying the Kconfig and the makefile in the directory drivers/usb/gadget. It will work, but somehow I feel this practice is both intrusive and may be difficult to maintain across new releases. Could you please suggest whether there is a better way.
Thank you -- Wojtek