diff options
Diffstat (limited to 'script/update/blobs/extract')
-rwxr-xr-x | script/update/blobs/extract | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/script/update/blobs/extract b/script/update/blobs/extract index 7b7ee2d5..1ea7070b 100755 --- a/script/update/blobs/extract +++ b/script/update/blobs/extract @@ -6,6 +6,7 @@ # SPDX-License-Identifier: GPL-3.0-only . "include/err.sh" +. "include/defconfig.sh" sname="" board="" @@ -61,11 +62,7 @@ extract_blobs() { printf "extracting blobs for %s from %s\n" ${board} ${vendor_rom} - no_config="printf \"No configs on target, %s\\n\" ${board} 1>&2; exit 1" - for x in "${boarddir}"/config/*; do - [ -f "${x}" ] && no_config="" - done - eval "${no_config}" + check_defconfig "${boarddir}" || exit 1 set -- "${boarddir}/config/"* . "${1}" 2>/dev/null |