[openwrt/openwrt] at91: Automatically detect USB feature
LEDE Commits
lede-commits at lists.infradead.org
Thu Apr 7 12:07:22 PDT 2022
hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/f6d566301ee3dc12fd41e131f89dfc4777b002f3
commit f6d566301ee3dc12fd41e131f89dfc4777b002f3
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Thu Apr 7 00:36:25 2022 +0200
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 at hauke-m.de>
---
target/linux/at91/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/linux/at91/Makefile b/target/linux/at91/Makefile
index 36804a1eeb..af0dc3f338 100644
--- a/target/linux/at91/Makefile
+++ b/target/linux/at91/Makefile
@@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
ARCH:=arm
BOARD:=at91
BOARDNAME:=Microchip (Atmel AT91)
-FEATURES:=ext4 squashfs targz usb usbgadget ubifs
+FEATURES:=ext4 squashfs targz usbgadget ubifs
SUBTARGETS:=sama7 sama5 sam9x
KERNEL_PATCHVER:=5.10
More information about the lede-commits
mailing list