include/blobutil: simplify check_defconfig()

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2023-09-29 22:34:34 +01:00
parent ac05e5ff17
commit 6519cea9cf
2 changed files with 4 additions and 4 deletions

View File

@@ -171,7 +171,8 @@ patch_rom()
[ -f "${rom%_nomicrocode.rom}.rom" ] && \
[ "${release_archive}" = "y" ] && return 0
check_defconfig "${boarddir}" || exit 1
check_defconfig "${boarddir}" || err "patch_rom ${rom}: no defconfig"
set -- "${boarddir}/config/"*
. "${1}" 2>/dev/null