diff options
| author | Linus Walleij | 2025-04-03 06:30:29 +0000 |
|---|---|---|
| committer | Linus Walleij | 2025-04-10 07:37:34 +0000 |
| commit | cb650214ba4b88b583ffe3e8c7fbc208b3f6bfba (patch) | |
| tree | dca6a54417b5cbc539b47a8aea3944fa9d45c543 | |
| parent | a57bce987a8e58c7ee79eda4bdd616003b1e2e61 (diff) | |
| download | openwrt-cb650214ba4b88b583ffe3e8c7fbc208b3f6bfba.tar.gz | |
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/20250403-dns313-usb-serial-v2-3-d84de8e86931@linaro.org/
Reviewed-by: Chuanhong Guo <gch981213@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
| -rw-r--r-- | package/utils/usbgadget/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/utils/usbgadget/Makefile b/package/utils/usbgadget/Makefile index 55f30b6729..0a88a49921 100644 --- a/package/utils/usbgadget/Makefile +++ b/package/utils/usbgadget/Makefile @@ -39,7 +39,7 @@ define GadgetPreset SECTION:=utils CATEGORY:=Utilities TITLE+= $(2) gadget preset - DEPENDS+= $(3) + DEPENDS+= +usbgadget $(3) endef define Package/$(PKG_NAME)-$(1)/description |