]> git.ipfire.org Git - thirdparty/openwrt.git/commit
kernel: usb: fix dependencies for kmod-usb-roles package
authorThomas Richard <thomas.richard@bootlin.com>
Fri, 27 Jun 2025 13:59:22 +0000 (15:59 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Fri, 8 Aug 2025 16:06:51 +0000 (18:06 +0200)
commit0f782fc2e9ed25767b4351047e815e9dc8ac8298
tree41a256c3db3d5d419b2f4b6c1e57ec369a35ed89
parent65aea930a5cf3b4a5beeeb45a46b4b26b94ce9b6
kernel: usb: fix dependencies for kmod-usb-roles package

The usb role driver does not depend on the kernel config CONFIG_USB (host
side support). It only depends on the kernel config CONFIG_USB_SUPPORT.

Now it depends on the OpenWrt configurations USB_SUPPORT or
USB_GADGET_SUPPORT (usb and usbgadget features). We can assume that if usb
or usbgadget features are set, CONFIG_USB_SUPPORT has been set in the
target/subtarget kernel config.

Signed-off-by: Thomas Richard <thomas.richard@bootlin.com>
Link: https://github.com/openwrt/openwrt/pull/19246
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/kernel/linux/modules/usb.mk