mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-28 09:39:00 +00:00
f6d566301e
The sama7 sub target does not have USB support, the feature should not be activated there. OpenWrt can automatically detect if the target supports USB by using the scripts/target-metadata.pl script. With the automatic detection USB support will only get activated on subtargest which actually support USB like sam9x and sama5. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
22 lines
421 B
Makefile
22 lines
421 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:=5.10
|
|
|
|
include $(INCLUDE_DIR)/target.mk
|
|
|
|
KERNELNAME:=zImage dtbs
|
|
|
|
DEFAULT_PACKAGES += kmod-usb-ohci kmod-at91-udc kmod-usb-gadget-eth
|
|
|
|
$(eval $(call BuildTarget))
|