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 <leah@libreboot.org>
btrfsvols
Leah Rowe 2023-09-04 13:44:07 +01:00
parent 0668d234f0
commit 950166da7b
1 changed files with 0 additions and 6 deletions

View File

@ -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"