mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-02-09 02:20:41 +01:00
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)
19 lines
351 B
Makefile
19 lines
351 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# Copyright (C) 2006-2013 OpenWrt.org
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
ARCH:=arm
|
|
BOARD:=at91
|
|
BOARDNAME:=Microchip (Atmel AT91)
|
|
FEATURES:=ext4 squashfs targz usbgadget ubifs
|
|
SUBTARGETS:=sama7 sama5 sam9x
|
|
|
|
KERNEL_PATCHVER:=6.6
|
|
|
|
include $(INCLUDE_DIR)/target.mk
|
|
|
|
KERNELNAME:=zImage dtbs
|
|
|
|
$(eval $(call BuildTarget))
|