Robert Marko 02d3aa72bb
Some checks are pending
Build Kernel / Build all affected Kernels (push) Waiting to run
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>
2025-04-04 11:37:12 +02:00

10 lines
249 B
Makefile

BOARDNAME:= SAM9X Boards (ARMv5)
CPU_TYPE:=arm926ej-s
DEFAULT_PACKAGES += kmod-usb-ohci kmod-at91-udc kmod-usb-gadget-eth
define Target/Description
Build generic firmware for Microchip AT91 SAM9x platforms
using the ARMv5 instruction set.
endef