build: log time taken by each packages/steps
authorEtienne Champetier <champetier.etienne@gmail.com>
Mon, 30 Apr 2018 19:55:12 +0000 (12:55 -0700)
committerJohn Crispin <john@phrozen.org>
Mon, 7 May 2018 08:31:35 +0000 (10:31 +0200)
commitff6e62b288cab103f9dd4200b49ec6dc47375eb8
tree5cee24e8f70e0c8aaaeb28001f220c8a3f6cbbbe
parentf87dff8f72097bd1f63b4921055060271eae977c
build: log time taken by each packages/steps

The idea is to easily get the list of packages taking the most time to build,
and see if we can improve them

v1: Use SetupHostCommand as recommended by John
v2: add space after 'time:', remove useless /usr/bin/time from SetupHostCommand

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
include/prereq-build.mk
include/subdir.mk