summaryrefslogtreecommitdiff
path: root/util/board_status
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2014-05-15 10:06:25 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2014-05-19 14:57:39 +0200
commit49592da27fb365fc07621fe305fde2d6bf309bb0 (patch)
treeec16fd08f927485f2a73f4c9dc5b0f6b914d6ba3 /util/board_status
parentee96c2ccbbc1d669ab9261cf871af377f118f62b (diff)
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>
Diffstat (limited to 'util/board_status')
-rwxr-xr-xutil/board_status/to-wiki/towiki.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/util/board_status/to-wiki/towiki.sh b/util/board_status/to-wiki/towiki.sh
index 1778061a6d..906a871ca5 100755
--- a/util/board_status/to-wiki/towiki.sh
+++ b/util/board_status/to-wiki/towiki.sh
@@ -166,6 +166,7 @@ EOF
fi
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")"
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")"
@@ -176,6 +177,7 @@ EOF
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")"
else
+ vendor_2nd=
board_nice=
rom_package=
rom_protocol=
@@ -385,6 +387,10 @@ EOF
else
echo "| [$board_url $vendor_nice]"
fi
+ if ! [ -z "$vendor_2nd" ]; then
+ echo "( $vendor_2nd )"
+ fi
+
echo "| [[Board:$vendor/$board|$board_nice]]"
if [ -z "$lastgood" ]; then