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
parent
0668d234f0
commit
950166da7b
|
@ -56,11 +56,6 @@ main()
|
||||||
board="${1}"
|
board="${1}"
|
||||||
boarddir="${cbcfgsdir}/${board}"
|
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"
|
no_config="printf \"No config for target, %s\\n\" ${board} 1>&2; exit 0"
|
||||||
for x in "${boarddir}"/config/*; do
|
for x in "${boarddir}"/config/*; do
|
||||||
[ -f "${x}" ] && no_config=""
|
[ -f "${x}" ] && no_config=""
|
||||||
|
@ -78,7 +73,6 @@ detect_firmware()
|
||||||
{
|
{
|
||||||
set -- "${boarddir}/config/"*
|
set -- "${boarddir}/config/"*
|
||||||
. "${1}" 2>/dev/null
|
. "${1}" 2>/dev/null
|
||||||
. "${boarddir}/target.cfg"
|
|
||||||
|
|
||||||
[ "${CONFIG_HAVE_MRC}" = "y" ] && needs="${needs} MRC"
|
[ "${CONFIG_HAVE_MRC}" = "y" ] && needs="${needs} MRC"
|
||||||
[ "${CONFIG_HAVE_ME_BIN}" = "y" ] && needs="${needs} ME"
|
[ "${CONFIG_HAVE_ME_BIN}" = "y" ] && needs="${needs} ME"
|
||||||
|
|
Loading…
Reference in New Issue