vendor.sh: print an error upon ill-defined target
previously, it was attempting to load the configs and silently failing. we must provide feedback to the user. Signed-off-by: Leah Rowe <leah@libreboot.org>20240612_branch
parent
3f73f3d0b4
commit
bb7255c34b
|
@ -36,6 +36,8 @@ vendor_download()
|
|||
boarddir="${cbcfgsdir}/${board}"
|
||||
_b="${board%%_*mb}" # shorthand (no duplication per rom size)
|
||||
|
||||
[ -d "$boarddir" ] || $err "Target '$board' not defined."
|
||||
|
||||
check_defconfig "${boarddir}" && exit 0
|
||||
detect_firmware && exit 0
|
||||
scan_config "${_b}" "config/vendor"
|
||||
|
|
Loading…
Reference in New Issue