openwrt/target/linux/at91
Robert Marko be73a7f033 at91: add USB kmods only for subtargets that support USB
Currently, kmod-usb-ohci,kmod-at91-udc and kmod-usb-gadget-eth are included
as the default packages for all at91 subtargets.

However, this is breaking image builder as kmod-at91-udc is not being built
on sama7 since it depends on USB_SUPPORT and sama7 does not have USB support
enabled in the kernel as its not supported upstream so its not even
selectable in the config.

So, move to include these as default packages only for sama5 and sama9x as
both of those have USB support enabled.

Fixes: #18407
Link: https://github.com/openwrt/openwrt/pull/18413
Signed-off-by: Robert Marko <robimarko@gmail.com>
(cherry picked from commit 02d3aa72bb)
2025-10-22 18:19:28 +02:00
..
base-files/etc at91: add support for sama7g5-ek board 2022-02-24 19:05:29 +01:00
image at91: drop 6.1 support 2024-09-20 18:42:56 +01:00
sam9x at91: add USB kmods only for subtargets that support USB 2025-10-22 18:19:28 +02:00
sama5 at91: add USB kmods only for subtargets that support USB 2025-10-22 18:19:28 +02:00
sama7 kernel: filter out compiler opts from config 2024-11-28 18:47:54 +00:00
Makefile at91: add USB kmods only for subtargets that support USB 2025-10-22 18:19:28 +02:00
modules.mk target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00