Board-status: Add second vendor line
Change-Id: I8a962f323cbc6347f266a188a07f870ce174d339 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/5751 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
This commit is contained in:
parent
ee96c2ccbb
commit
49592da27f
|
@ -166,6 +166,7 @@ EOF
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f "$vendor_board_dir/board_info.txt" ]; then
|
if [ -f "$vendor_board_dir/board_info.txt" ]; then
|
||||||
|
vendor_2nd="$(sed -n "/^[[:space:]]*Vendor name:/ s,^[[:space:]]*Vendor name:[[:space:]]*,,p" "$vendor_board_dir/board_info.txt")"
|
||||||
board_nice="$(sed -n "/^[[:space:]]*Board name:/ s,^[[:space:]]*Board name:[[:space:]]*,,p" "$vendor_board_dir/board_info.txt")"
|
board_nice="$(sed -n "/^[[:space:]]*Board name:/ s,^[[:space:]]*Board name:[[:space:]]*,,p" "$vendor_board_dir/board_info.txt")"
|
||||||
rom_package="$(sed -n "/^[[:space:]]*ROM package:/ s,^[[:space:]]*ROM package:[[:space:]]*,,p" "$vendor_board_dir/board_info.txt")"
|
rom_package="$(sed -n "/^[[:space:]]*ROM package:/ s,^[[:space:]]*ROM package:[[:space:]]*,,p" "$vendor_board_dir/board_info.txt")"
|
||||||
rom_protocol="$(sed -n "/^[[:space:]]*ROM protocol:/ s,^[[:space:]]*ROM protocol:[[:space:]]*,,p" "$vendor_board_dir/board_info.txt")"
|
rom_protocol="$(sed -n "/^[[:space:]]*ROM protocol:/ s,^[[:space:]]*ROM protocol:[[:space:]]*,,p" "$vendor_board_dir/board_info.txt")"
|
||||||
|
@ -176,6 +177,7 @@ EOF
|
||||||
board_url="$(sed -n "/^[[:space:]]*Board URL:/ s,^[[:space:]]*Board URL:[[:space:]]*,,p" "$vendor_board_dir/board_info.txt")"
|
board_url="$(sed -n "/^[[:space:]]*Board URL:/ s,^[[:space:]]*Board URL:[[:space:]]*,,p" "$vendor_board_dir/board_info.txt")"
|
||||||
clone_of="$(sed -n "/^[[:space:]]*Clone of:/ s,^[[:space:]]*Clone of:[[:space:]]*,,p" "$vendor_board_dir/board_info.txt")"
|
clone_of="$(sed -n "/^[[:space:]]*Clone of:/ s,^[[:space:]]*Clone of:[[:space:]]*,,p" "$vendor_board_dir/board_info.txt")"
|
||||||
else
|
else
|
||||||
|
vendor_2nd=
|
||||||
board_nice=
|
board_nice=
|
||||||
rom_package=
|
rom_package=
|
||||||
rom_protocol=
|
rom_protocol=
|
||||||
|
@ -385,6 +387,10 @@ EOF
|
||||||
else
|
else
|
||||||
echo "| [$board_url $vendor_nice]"
|
echo "| [$board_url $vendor_nice]"
|
||||||
fi
|
fi
|
||||||
|
if ! [ -z "$vendor_2nd" ]; then
|
||||||
|
echo "( $vendor_2nd )"
|
||||||
|
fi
|
||||||
|
|
||||||
echo "| [[Board:$vendor/$board|$board_nice]]"
|
echo "| [[Board:$vendor/$board|$board_nice]]"
|
||||||
|
|
||||||
if [ -z "$lastgood" ]; then
|
if [ -z "$lastgood" ]; then
|
||||||
|
|
Loading…
Reference in New Issue