mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-22 14:36:31 +02:00
build/release/roms: simplify defcongic handling
Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -96,20 +96,12 @@ make_archive()
|
|||||||
[ "${microcode_required}" = "y" ] || \
|
[ "${microcode_required}" = "y" ] || \
|
||||||
[ "${microcode_required}" = "n" ] || microcode_required="y"
|
[ "${microcode_required}" = "n" ] || microcode_required="y"
|
||||||
|
|
||||||
CONFIG_HAVE_MRC="y"
|
for x in CONFIG_HAVE_MRC CONFIG_HAVE_ME_BIN CONFIG_KBC1126_FIRMWARE \
|
||||||
CONFIG_HAVE_ME_BIN="y"
|
CONFIG_INCLUDE_SMSC_SCH5545_EC_FW; do
|
||||||
CONFIG_KBC1126_FIRMWARE="y"
|
eval "${x}=\"y\""
|
||||||
CONFIG_INCLUDE_SMSC_SCH5545_EC_FW="y"
|
grep "${x}=y" "config/coreboot/${target}/config/"* || \
|
||||||
grep "CONFIG_HAVE_ME_BIN=y" "config/coreboot/${target}/config/"* || \
|
eval "${x}=\"n\""
|
||||||
CONFIG_HAVE_ME_BIN="n"
|
done
|
||||||
grep "CONFIG_HAVE_MRC=y" "config/coreboot/${target}/config/"* || \
|
|
||||||
CONFIG_HAVE_MRC="n"
|
|
||||||
grep "CONFIG_KBC1126_FIRMWARE=y" \
|
|
||||||
"config/coreboot/${target}/config"/* || \
|
|
||||||
CONFIG_KBC1126_FIRMWARE="n"
|
|
||||||
grep "CONFIG_INCLUDE_SMSC_SCH5545_EC_FW=y" \
|
|
||||||
"config/coreboot/${target}/config"/* || \
|
|
||||||
CONFIG_INCLUDE_SMSC_SCH5545_EC_FW="n"
|
|
||||||
|
|
||||||
# remove ME/MRC/EC firmware from ROM images
|
# remove ME/MRC/EC firmware from ROM images
|
||||||
if [ "${CONFIG_HAVE_ME_BIN}" = "y" ] || \
|
if [ "${CONFIG_HAVE_ME_BIN}" = "y" ] || \
|
||||||
|
|||||||
Reference in New Issue
Block a user