build/roms: more useful status warnings
Signed-off-by: Leah Rowe <leah@libreboot.org>audit2-merge1
parent
5405584b5a
commit
8a1255634e
|
@ -157,12 +157,15 @@ configure_target()
|
||||||
|
|
||||||
skip_board()
|
skip_board()
|
||||||
{
|
{
|
||||||
[ "$listboards" != "y" ] && [ "$status" != "stable" ] && \
|
if [ "$listboards" != "y" ] && [ "$status" != "stable" ]; then
|
||||||
printf "WARNING: %s not stable (status=%s):\n\n" \
|
printf "\n\n\t!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n"
|
||||||
|
printf "\t__WARNING: %s has status '%s'__\n" \
|
||||||
"$board" "$status"
|
"$board" "$status"
|
||||||
|
printf "\t!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n\n"
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -f "$targetdir/warn.txt" ] && [ "$listboards" != "y" ]; then
|
if [ -f "$targetdir/warn.txt" ] && [ "$listboards" != "y" ]; then
|
||||||
printf "Regarding board '%s' (status '%s'):\n" \
|
printf "Regarding target '%s' (status '%s'):\n\n" \
|
||||||
"$board" "$status"
|
"$board" "$status"
|
||||||
cat -u "$targetdir/warn.txt" || \
|
cat -u "$targetdir/warn.txt" || \
|
||||||
$err "!cat $targetdir/warn.txt"
|
$err "!cat $targetdir/warn.txt"
|
||||||
|
|
Loading…
Reference in New Issue