diff --git a/include/vendor.sh b/include/vendor.sh index af441449..8992995f 100755 --- a/include/vendor.sh +++ b/include/vendor.sh @@ -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"