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