rom.sh: unset displaymode on normal initmode

Otherwise, you get "normal_normal" in the image name.

Signed-off-by: Leah Rowe <leah@libreboot.org>
master
Leah Rowe 2024-11-21 18:34:08 +00:00 committed by Leah Rowe
parent b179ef63ed
commit 38dd860431
1 changed files with 1 additions and 0 deletions

View File

@ -92,6 +92,7 @@ mkcorebootbin()
$dry x_ cp "$srcdir/build/coreboot.rom" "$tmprom" $dry x_ cp "$srcdir/build/coreboot.rom" "$tmprom"
initmode="${defconfig##*/}"; displaymode="${initmode##*_}" initmode="${defconfig##*/}"; displaymode="${initmode##*_}"
[ "$displaymode" = "$initmode" ] && displaymode="" # "normal" config
initmode="${initmode%%_*}" initmode="${initmode%%_*}"
cbfstool="elf/cbfstool/$tree/cbfstool" cbfstool="elf/cbfstool/$tree/cbfstool"