[Buildroot] [PATCH 7/8] core/show-info: report the ordered list of build steps

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sat Apr 11 08:39:50 UTC 2020


On Sat, 11 Apr 2020 10:12:32 +0200
"Yann E. MORIN" <yann.morin.1998 at free.fr> wrote:

> People (and scritps) who want to report on the build progress, now know
> where and what to look for (build directory and stampfiles), but they
> also need to know the ordering of those stampfiles.
> 
> The stampfiles item is a dictionary; dictionaries are guaranteed to not
> be ordered, so even if we output the stampfiles in order, we can expect
> users of that dictionary to get them back in order.
> 
> Expose the build steps in a list, which is guaranteed to be ordered.
> 
> Signed-off-by: Yann E. MORIN <yann.morin.1998 at free.fr>
> Cc: Vadim Kochan <vadim4j at gmail.com>
> Cc: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
> Cc: Arnout Vandecappelle <arnout at mind.be>
> Cc: eeppeliteloop at gmail.com
> ---
>  package/pkg-utils.mk | 15 +++++++++++++++
>  1 file changed, 15 insertions(+)

Meh, just like PATCH 6/8, I'm not sure. This is going to be a lot of
additional information in the JSON, almost duplicated for every
package, and there is really nothing bad in the "progress showing" tool
to have knowledge about these steps. It's not like they are changing
all the time.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the buildroot mailing list