projects
/
openwrt
/
staging
/
linusw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a57bce9
)
package: usbgadget: Fix subpackage dependencies
author
Linus Walleij
<
[email protected]
>
Thu, 3 Apr 2025 06:30:29 +0000
(08:30 +0200)
committer
Linus Walleij
<
[email protected]
>
Thu, 10 Apr 2025 07:37:34 +0000
(09:37 +0200)
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
patch
|
blob
|
history
diff --git
a/package/utils/usbgadget/Makefile
b/package/utils/usbgadget/Makefile
index 55f30b6729a00c6cf28da19f25653a3217243495..0a88a49921894363cbf151123b3eff6875ddd871 100644
(file)
--- 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