mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-18 14:12:44 +02:00
vendor.sh inject: skip serprog targets
this is to prevent a fault condition during automated testing Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
+7
-2
@@ -234,7 +234,7 @@ vendor_inject()
|
|||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
check_board
|
check_board || return 0
|
||||||
build_dependencies_inject
|
build_dependencies_inject
|
||||||
[ "$vrelease" != "y" ] && patch_rom "$rom"
|
[ "$vrelease" != "y" ] && patch_rom "$rom"
|
||||||
[ "$vrelease" = "y" ] && patch_release_roms
|
[ "$vrelease" = "y" ] && patch_release_roms
|
||||||
@@ -253,7 +253,8 @@ check_board()
|
|||||||
[ -n "${board+x}" ] || board="$(detect_board "$rom")"
|
[ -n "${board+x}" ] || board="$(detect_board "$rom")"
|
||||||
else
|
else
|
||||||
vrelease="y"; board="$(detect_board "$archive")"
|
vrelease="y"; board="$(detect_board "$archive")"
|
||||||
fi; readcfg
|
fi
|
||||||
|
readcfg || return 1; return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
check_release()
|
check_release()
|
||||||
@@ -285,6 +286,10 @@ detect_board()
|
|||||||
|
|
||||||
readcfg()
|
readcfg()
|
||||||
{
|
{
|
||||||
|
if [ "$board" = "serprog_rp2040" ] || \
|
||||||
|
[ "$board" = "serprog_stm32" ]; then
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
boarddir="$cbcfgsdir/$board"
|
boarddir="$cbcfgsdir/$board"
|
||||||
eval `setcfg "$boarddir/target.cfg"`
|
eval `setcfg "$boarddir/target.cfg"`
|
||||||
chkvars vcfg tree
|
chkvars vcfg tree
|
||||||
|
|||||||
Reference in New Issue
Block a user