summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Walleij2025-04-01 07:52:19 +0000
committerLinus Walleij2025-04-10 07:36:18 +0000
commitf0de73f91238b9533ffaf2dd29c26ddc1453f2e1 (patch)
treeb087eb7ca2cb46b5da2561325c834d88c73568f3
parent3edb06546bcae3ad243e5efe15a13c32d948282c (diff)
downloadopenwrt-f0de73f91238b9533ffaf2dd29c26ddc1453f2e1.tar.gz
package: usbgadget: Require kmod-fs-configfs
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. Link: http://patchwork.ozlabs.org/project/openwrt/patch/20250403-dns313-usb-serial-v2-1-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/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/utils/usbgadget/Makefile b/package/utils/usbgadget/Makefile
index d3a68ea9df..65673e730f 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))