From 950166da7b1c00a19bc7e0427e48d1eb4afa04f3 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Mon, 4 Sep 2023 13:44:07 +0100 Subject: update/blobs/download: remove errant code the handling of target.cfg is *not* required, in this script. other mechanisms are also used for error checking. this script only uses defconfigs. Signed-off-by: Leah Rowe --- script/update/blobs/download | 6 ------ 1 file changed, 6 deletions(-) (limited to 'script/update') diff --git a/script/update/blobs/download b/script/update/blobs/download index b72d92ac..4c2ed846 100755 --- a/script/update/blobs/download +++ b/script/update/blobs/download @@ -56,11 +56,6 @@ main() board="${1}" boarddir="${cbcfgsdir}/${board}" - [ -d "${boarddir}" ] || \ - err "Board target, ${board}, not defined" - [ -f "${boarddir}/target.cfg" ] || \ - err "Target missing target.cfg" - no_config="printf \"No config for target, %s\\n\" ${board} 1>&2; exit 0" for x in "${boarddir}"/config/*; do [ -f "${x}" ] && no_config="" @@ -78,7 +73,6 @@ detect_firmware() { set -- "${boarddir}/config/"* . "${1}" 2>/dev/null - . "${boarddir}/target.cfg" [ "${CONFIG_HAVE_MRC}" = "y" ] && needs="${needs} MRC" [ "${CONFIG_HAVE_ME_BIN}" = "y" ] && needs="${needs} ME" -- cgit v1.2.1