mirror of
https://github.com/openwrt/openwrt.git
synced 2025-04-13 22:23:38 +00:00
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>
This commit is contained in:
parent
a57bce987a
commit
cb650214ba
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user