summaryrefslogtreecommitdiff
path: root/script/build
diff options
context:
space:
mode:
Diffstat (limited to 'script/build')
-rwxr-xr-xscript/build/release/roms5
1 files changed, 3 insertions, 2 deletions
diff --git a/script/build/release/roms b/script/build/release/roms
index f9b7d2f2..10c0d6b2 100755
--- a/script/build/release/roms
+++ b/script/build/release/roms
@@ -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