mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 14:02:52 +02:00
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>
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user