bcm2711: allow building KERNEL_ONLY=yes even with unsupported RELEASE

- Check for compatibility is only relevant when building complete board or userspace, not kernel.
- this should allow CI to complete, finally

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
This commit is contained in:
Ricardo Pardini 2021-12-06 10:17:35 +01:00
parent 90e0fe0ba2
commit 54349c2dcc

View File

@ -82,7 +82,9 @@ extension_prepare_config__prepare_rpi_flash_kernel() {
fi
fi
else
display_alert "Can't use release for ${BOARD}. Try: ${usable_releases}" "${RELEASE}" "err"
exit 27
if [[ "${KERNEL_ONLY}" != "yes" ]]; then
display_alert "Can't use release for ${BOARD}. Try: ${usable_releases}" "${RELEASE}" "err"
exit 27
fi
fi
}