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. Cc: Chuanhong Guo <gch981...@gmail.com> Signed-off-by: Linus Walleij <linus.wall...@linaro.org> --- package/utils/usbgadget/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/utils/usbgadget/Makefile b/package/utils/usbgadget/Makefile index 55f30b6729a00c6cf28da19f25653a3217243495..40a68b7601a8b73770fc3fc921df6f708a143ffb 100644 --- a/package/utils/usbgadget/Makefile +++ b/package/utils/usbgadget/Makefile @@ -54,5 +54,5 @@ define GadgetPreset $$(eval $$(call BuildPackage,$(PKG_NAME)-$(1))) endef -$(eval $(call GadgetPreset,ncm,CDC-NCM,+kmod-usb-gadget-ncm)) -$(eval $(call GadgetPreset,acm,CDC-ACM,+kmod-usb-gadget-serial)) +$(eval $(call GadgetPreset,ncm,CDC-NCM,+usbgadget +kmod-usb-gadget-ncm)) +$(eval $(call GadgetPreset,acm,CDC-ACM,+usbgadget +kmod-usb-gadget-serial)) -- 2.49.0 _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel