diff options
author | Leah Rowe <leah@libreboot.org> | 2024-05-18 19:51:40 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2024-05-18 19:51:40 +0100 |
commit | 5b5dccd630611922f8d57a27d4f09ae7cf7cde87 (patch) | |
tree | 78d5b5233c019f3340ebf95a0780dfb563c5a896 /include/vendor.sh | |
parent | 8418ea9ab2dbcf13ebbfa23cd620a1bf108a24f3 (diff) |
vendor.sh: further simplify config handling
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include/vendor.sh')
-rwxr-xr-x | include/vendor.sh | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/vendor.sh b/include/vendor.sh index 06b10fc7..5ab04221 100755 --- a/include/vendor.sh +++ b/include/vendor.sh @@ -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" |