Project

General

Profile

Feature #13396

Add make target which shows state of project

Added by Richard Neswold over 3 years ago.

Status:
New
Priority:
Normal
Category:
frontend.mk
Target version:
-
Start date:
08/02/2016
Due date:
% Done:

0%

Estimated time:
Duration:

Description

It would be nice to add a target to frontend.mk which reports the state of the boot area. In other words, it would - for each target supported by the project - show the versions of the files in the boot area and whether they're in a beta or stable state.

As a hypothetical example:

$ make show-state
Status of 'foo' project:
OS / BSP            Project   Status
------------------- --------- --------------------------------------
5.4 / PPC603        1.1       Stable: 1.1, Latest: 1.1
5.4 / PPC604        1.1       Stable: 1.1, Latest: 1.1
5.5 / mv2303        1.1       Stable: 1.1, Latest: 1.1
6.4 / mv5500        1.1       Stable: 1.1, Latest: 1.1

another possible outcome:

$ make show-state
Status of 'foo' project:
OS / BSP            Project   Status
------------------- --------- --------------------------------------
5.4 / PPC603        1.1       Stable: 1.1, Latest: 1.1
5.4 / PPC604        1.1       Stable: 1.1, Latest: 1.1
5.5 / mv2303        1.2       Stable: 1.1, Beta: 1.2, Latest: 1.2
6.4 / mv5500        1.2       Unknown state (bad links)

*** Warning: Targets aren't in a consistent state!


Also available in: Atom PDF