build: remove GNU time dependency
authorJo-Philipp Wich <jo@mein.io>
Sat, 4 Aug 2018 22:06:27 +0000 (00:06 +0200)
committerJo-Philipp Wich <jo@mein.io>
Tue, 18 Dec 2018 10:01:54 +0000 (11:01 +0100)
commitb4454ca4fae13f85e06d01df8a2a94ddd78d3368
tree77330c1615e3c3daaaa8033579139e59e5d00b54
parent43c96e8dd87ecc66448305484b824606bef8099b
build: remove GNU time dependency

Replace the GNU time program invocation with a simple Perl script reporting
the timing values. Since we require Perl anyway for the build system, we can
as well use that instead of requiring a random GNU utility rarely installed
by default.

Fixes: ff6e62b288 ("build: log time taken by each packages/steps")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(backported from d3ddf6631e491a831617a5ae8b3d7924e47a275a)
include/prereq-build.mk
include/subdir.mk
scripts/time.pl [new file with mode: 0755]