Bug #72

Provide better a error message when trying to use missing blobs in a non-git tree

Added by Patrick Georgi about 3 years ago. Updated about 3 years ago.

Status:NewStart date:09/17/2016
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

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.

History

#1 Updated by Martin Roth about 3 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.

Also available in: Atom PDF