vendor.sh: further simplify config handling

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2024-05-18 19:51:40 +01:00
parent 8418ea9ab2
commit 5b5dccd630
2 changed files with 2 additions and 4 deletions
+1 -4
View File
@@ -394,10 +394,7 @@ patch_rom()
{
rom="${1}"
check_defconfig "$boarddir" && $err "patch_rom $boarddir: no configs"
set -- "${boarddir}/config/"*
. "${1}" 2>/dev/null
. "$(check_defconfig "${boarddir}")" 2>/dev/null || exit 0
[ "$CONFIG_HAVE_MRC" = "y" ] && \
inject "mrc.bin" "${CONFIG_MRC_FILE}" "mrc" "0xfffa0000"