Vladimir Serbinenko (phcoder@gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/4753
-gerrit
commit da871795fa51941ffe35b9f8601d386e41aaa4ea Author: Vladimir Serbinenko phcoder@gmail.com Date: Sun Jan 19 15:49:10 2014 +0100
boardstatus: Remove category retrieval from board_info.txt
Change-Id: I16795e0d8a2ced43d1b4493a34acd812ab6295aa Signed-off-by: Vladimir Serbinenko phcoder@gmail.com --- util/board_status/to-wiki/towiki.sh | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-)
diff --git a/util/board_status/to-wiki/towiki.sh b/util/board_status/to-wiki/towiki.sh index 43ee3c1..46d99f0 100755 --- a/util/board_status/to-wiki/towiki.sh +++ b/util/board_status/to-wiki/towiki.sh @@ -146,22 +146,20 @@ EOF fi
if [ -f "$vendor_board_dir/board_info.txt" ]; then - cur_category="$(sed -n "/^[[:space:]]*Category:/ s,^[[:space:]]*Category:[[: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 - cur_category= clone_of= fi - if [ -z "$cur_category" ]; then - # eval board may be of other type as well. Prefer "eval" - # desktop is pretty generic, keep it for last - for candidate in "eval" server laptop half mini settop emulation sbc misc desktop; do - if grep -i BOARD_TYPE_"$candidate" "$vendor_board_dir/Kconfig" > /dev/null ; then - cur_category="$candidate" - break - fi - done - fi + + cur_category= + # eval board may be of other type as well. Prefer "eval" + # desktop is pretty generic, keep it for last + for candidate in "eval" server laptop half mini settop emulation sbc misc desktop; do + if grep -i BOARD_TYPE_"$candidate" "$vendor_board_dir/Kconfig" > /dev/null ; then + cur_category="$candidate" + break + fi + done
if [ -z "$cur_category" ] && ! [ -z "$clone_of" ]; then # eval board may be of other type as well. Prefer "eval"