mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-03-25 21:39:03 +02:00
inject.sh: simplified serprog check
Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -75,10 +75,7 @@ check_release()
|
||||
|
||||
check_target()
|
||||
{
|
||||
if [ "$board" = "serprog_rp2040" ] || [ "$board" = "serprog_stm32" ] \
|
||||
|| [ "$board" = "serprog_pico" ]; then
|
||||
return 1
|
||||
fi
|
||||
[ "$board" = "${board#serprog_}" ] || return 1
|
||||
boarddir="$cbcfgsdir/$board"
|
||||
|
||||
eval "`setcfg "$boarddir/target.cfg"`"
|
||||
|
||||
Reference in New Issue
Block a user