Project

General

Profile

Actions

Bug #72

open

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

Added by Patrick Georgi over 8 years ago. Updated about 8 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
09/17/2016
Due date:
% Done:

0%

Estimated time:
Affected versions:
Needs backport to:
Affected hardware:
Affected OS:

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.

Actions #1

Updated by Martin Roth about 8 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.

Actions

Also available in: Atom PDF