From 2eaf3b4e3adbf95d358c83eb41378aabff193de5 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Sun, 19 Jan 2014 00:37:23 +0100 Subject: boardstatus: Handle clones. Change-Id: I7bfe19eb800729713a549dc0396765a9785e11b1 Signed-off-by: Vladimir Serbinenko Reviewed-on: http://review.coreboot.org/4732 Tested-by: build bot (Jenkins) Reviewed-by: Alexandru Gagniuc --- util/board_status/to-wiki/towiki.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'util/board_status/to-wiki/towiki.sh') diff --git a/util/board_status/to-wiki/towiki.sh b/util/board_status/to-wiki/towiki.sh index 02204df96d..e61b23ad1f 100755 --- a/util/board_status/to-wiki/towiki.sh +++ b/util/board_status/to-wiki/towiki.sh @@ -157,6 +157,7 @@ EOF vendor_cooperation_score="$(sed -n "/^[[:space:]]*Vendor cooperation score:/ s,^[[:space:]]*Vendor cooperation score:[[:space:]]*,,p" "$vendor_board_dir/board_info.txt")" vendor_cooperation_page="$(sed -n "/^[[:space:]]*Vendor cooperation page:/ s,^[[:space:]]*Vendor cooperation page:[[: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")" else board_nice= rom_package= @@ -166,6 +167,7 @@ EOF vendor_cooperation_score= vendor_cooperation_page= board_url= + clone_of= fi if [ "$last_vendor" != "$vendor" ]; then last_vendor="$vendor" @@ -190,6 +192,10 @@ EOF lastgood="$(echo "$have"| sed -n "/^$vendor\/$board:/ s,^[^:]*:,,gp")" + if ! [ -z "$clone_of" ]; then + vendor_board_dir="$COREBOOT_DIR"/src/mainboard/"$clone_of"; + fi + northbridge="$(sed -n "/^[[:space:]]*select NORTHBRIDGE_/ s,^[[:space:]]*select NORTHBRIDGE_,,p" "$vendor_board_dir/Kconfig")" northbridge_nice="$(echo "$northbridge"|sed 's,AMD_AGESA_FAMILY\(.*\),AMD Family \1h (AGESA),g;s,AMD_FAMILY\(.*\),AMD Family \1h,g;s,AMD_AMDFAM\(.*\),AMD Family \1h,g;s,_, ,g;s,INTEL,IntelĀ®,g;')" -- cgit v1.2.3