mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-21 12:05:23 +00:00
at91: Automatically detect USB feature
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>
(cherry picked from commit f6d566301e
)
This commit is contained in:
parent
f66521e71f
commit
d0965dc174
@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
ARCH:=arm
|
ARCH:=arm
|
||||||
BOARD:=at91
|
BOARD:=at91
|
||||||
BOARDNAME:=Microchip (Atmel AT91)
|
BOARDNAME:=Microchip (Atmel AT91)
|
||||||
FEATURES:=ext4 squashfs targz usb usbgadget ubifs
|
FEATURES:=ext4 squashfs targz usbgadget ubifs
|
||||||
SUBTARGETS:=sama7 sama5 sam9x
|
SUBTARGETS:=sama7 sama5 sam9x
|
||||||
|
|
||||||
KERNEL_PATCHVER:=5.10
|
KERNEL_PATCHVER:=5.10
|
||||||
|
Loading…
Reference in New Issue
Block a user