summaryrefslogtreecommitdiff
path: root/script/update
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-09-04 13:44:07 +0100
committerLeah Rowe <leah@libreboot.org>2023-09-04 13:44:07 +0100
commit950166da7b1c00a19bc7e0427e48d1eb4afa04f3 (patch)
tree4d4edd1510778a76c16779b32719a11b587e7cc0 /script/update
parent0668d234f0ef0bff6d47a598146685e73b194403 (diff)
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>
Diffstat (limited to 'script/update')
-rwxr-xr-xscript/update/blobs/download6
1 files changed, 0 insertions, 6 deletions
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"