Provide better a error message when trying to use missing blobs in a non-git tree
When building a blobby board using the release tarballs (but missing the blob files), we simply fail out with something like "make: *** No rule to make target '3rdparty/blobs/cpu/intel/model_1067x/microcode.bin' ..."
We should provide a proper error message for USE_BLOBS=y and missing blobs.
#1 Updated by Martin Roth over 2 years ago
What about adding an integer "REQUIRES_BLOBS" kconfig option that can be set in chipsets or boards that have blobby requirements.
0 = No blobs required
1 = Builds with no blobs, but requires blobs that are not in the blob repo to boot
2 = Requires blobs in the blobs repo to build
This can help us do a few things:
A) We can add text saying "Now BLOB Free!" to blobless boards when they boot
B) We can easily identify all of the blob-free boards in abuild, and publish those binaries if desired.
D) We can easily error out if the the board requires blobs but is being built without the blobs repo.