diff options
author | Andy Boyett <agb@agb.io> | 2018-05-16 22:09:57 -0700 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2018-06-18 21:31:49 +0200 |
commit | 25eb240f63adaa51882b7c9dee9a2e0b578b5ed1 (patch) | |
tree | 33b90a4d77bf8cf7fa793b80488734d8d3d0be21 /scripts/srecimage.pl | |
parent | 97cb9d04eed0715f508f8dae91b56530f163adc3 (diff) | |
download | upstream-25eb240f63adaa51882b7c9dee9a2e0b578b5ed1.tar.gz upstream-25eb240f63adaa51882b7c9dee9a2e0b578b5ed1.tar.bz2 upstream-25eb240f63adaa51882b7c9dee9a2e0b578b5ed1.zip |
build: add busybox support to `time` prereq-check
Busybox time supports the GNU time '-f' syntax used by the build time
logging implemented in ff6e62b288c, however the prerequisite check added
only works with GNU time installed as `time` or `gtime`.
As busybox is a multicall binary, the name of the symlink setup by
SetupHostCommand also must be changed from `gtime` to `time` to fix the
value of argv[0]. This causes a number of shells (including bash) to use
their builtin impelementation of time, so the sole invocation has been
changed to use `env time` to use the value found on the $PATH.
Signed-off-by: Andy Boyett <agb@agb.io>
(cherry picked from commit 591780615b304fb4624e363135942e9ee8f6caa3)
Diffstat (limited to 'scripts/srecimage.pl')
0 files changed, 0 insertions, 0 deletions