package: usbgadget: Fix subpackage dependencies
authorLinus Walleij <[email protected]>
Thu, 3 Apr 2025 06:30:29 +0000 (08:30 +0200)
committerLinus Walleij <[email protected]>
Thu, 10 Apr 2025 07:37:34 +0000 (09:37 +0200)
commitcb650214ba4b88b583ffe3e8c7fbc208b3f6bfba
treedca6a54417b5cbc539b47a8aea3944fa9d45c543
parenta57bce987a8e58c7ee79eda4bdd616003b1e2e61
package: usbgadget: Fix subpackage dependencies

Currently if a target wants to use acm or ncm gadget config,
they need to select both usbgadget and the config package
such as usbgadget-acm.

It's better if the target just select usbgadget-acm and get
all dependencies satisfied.

Adding a dependency using +usbgadget fixes this.

Link: http://patchwork.ozlabs.org/project/openwrt/patch/[email protected]/
Reviewed-by: Chuanhong Guo <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
package/utils/usbgadget/Makefile