at91: Automatically detect USB feature
authorHauke Mehrtens <hauke@hauke-m.de>
Wed, 6 Apr 2022 22:36:25 +0000 (00:36 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Thu, 7 Apr 2022 19:01:48 +0000 (21:01 +0200)
commitf6d566301ee3dc12fd41e131f89dfc4777b002f3
treef783ce2f784d6e16c9990567b00d84271753543c
parent3296881a1d631bc6db38fe72ab73adaa27af6f8c
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>
target/linux/at91/Makefile