build/release/roms: fix ucode handling

microcode_required wasn't being reset per target,
leading to unreliable results. this fixes that.

Signed-off-by: Leah Rowe <leah@libreboot.org>
btrfsvols
Leah Rowe 2023-09-04 21:23:18 +01:00
parent c0c7f3ae15
commit 196f293a27
1 changed files with 3 additions and 2 deletions

View File

@ -92,9 +92,10 @@ make_archive()
[ -f "config/coreboot/${target}/target.cfg" ] || \
err "make_archive: ${target}: target.cfg is missing"
microcode_required="y"
. "config/coreboot/${target}/target.cfg"
[ "${microcode_required}" = "y" ] || \
[ "${microcode_required}" = "n" ] || microcode_required="y"
if [ "${microcode_required}" != "y" ] && \
[ "${microcode_required}" != "n" ]; then microcode_required="y"; fi
for x in CONFIG_HAVE_MRC CONFIG_HAVE_ME_BIN CONFIG_KBC1126_FIRMWARE \
CONFIG_INCLUDE_SMSC_SCH5545_EC_FW; do