iop: genconfig: display boards sorted

This commit is contained in:
arne.jonsson 2023-06-01 17:16:14 +02:00 committed by Andreas Gnau
parent 910c8e61e2
commit 653cd5bb97
2 changed files with 4 additions and 2 deletions

View file

@ -120,7 +120,8 @@ function genconfig {
if [ "$profile" == "LIST" ]; then
for list in brcmbca airoha x86 armvirt mediatek ipq95xx ipq53xx; do
echo "$list based boards:"
for b in ${!list}; do
a=$(echo "${!list}" | sort)
for b in $a; do
echo -e "\t$b"
done
done

View file

@ -119,7 +119,8 @@ function genconfig_min {
if [ "$profile" == "LIST" ]; then
for list in brcmbca airoha x86 armvirt mediatek ipq95xx ipq53xx; do
echo "$list based boards:"
for b in ${!list}; do
a=$(echo "${!list}" | sort)
for b in $a; do
echo -e "\t$b"
done
done