[PATCH v2 1/4] package: usbgadget: Require kmod-fs-configfs
Chuanhong Guo
gch981213 at gmail.com
Thu Apr 3 18:52:42 PDT 2025
Hi!
On Thu, Apr 3, 2025 at 2:51 PM Linus Walleij <linus.walleij at linaro.org> wrote:
>
> The usbgadget package tries to mount and use configfs so it
> needs to require the kernel module instead of implying it.
>
> There should be a newline at the end of the file as well.
>
> Cc: Chuanhong Guo <gch981213 at gmail.com>
> Signed-off-by: Linus Walleij <linus.walleij at linaro.org>
Reviewed-by: Chuanhong Guo <gch981213 at gmail.com>
> ---
> 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 d3a68ea9dfa82eb083bafe2c033cdab9156d1e9b..65673e730f1728b9d6d33c0533669d988d9789b1 100644
> --- a/package/utils/usbgadget/Makefile
> +++ b/package/utils/usbgadget/Makefile
> @@ -12,7 +12,7 @@ include $(INCLUDE_DIR)/package.mk
> define Package/$(PKG_NAME)
> SECTION:=utils
> CATEGORY:=Utilities
> - DEPENDS:=@USB_GADGET_SUPPORT +kmod-usb-gadget +kmod-usb-lib-composite
> + DEPENDS:=@USB_GADGET_SUPPORT +kmod-usb-gadget +kmod-fs-configfs +kmod-usb-lib-composite
> TITLE:=init script to create USB gadgets
> endef
>
> @@ -51,4 +51,4 @@ define GadgetPreset
> endef
>
> $(eval $(call GadgetPreset,ncm,CDC-NCM,+kmod-usb-gadget-ncm))
> -$(eval $(call GadgetPreset,acm,CDC-ACM,+kmod-usb-gadget-serial))
> \ No newline at end of file
> +$(eval $(call GadgetPreset,acm,CDC-ACM,+kmod-usb-gadget-serial))
>
> --
> 2.49.0
>
--
Regards,
Chuanhong Guo
More information about the openwrt-devel
mailing list