openwrt/include
Andy Boyett 25eb240f63 build: add busybox support to time prereq-check
Busybox time supports the GNU time '-f' syntax used by the build time
logging implemented in ff6e62b288, 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 591780615b)
2018-06-18 21:31:49 +02:00
..
site
autotools.mk
cmake.mk
debug.mk
depends.mk
device_table.txt
download.mk
feeds.mk
hardened-ld-pie.specs
hardening.mk
host-build.mk
image-commands.mk build: use busybox gzip compatible force option 2018-06-18 21:31:30 +02:00
image-legacy.mk
image.mk
kernel-build.mk
kernel-defaults.mk
kernel-version.mk kernel: bump 4.14 to 4.14.50 for 18.06 2018-06-18 15:28:56 +02:00
kernel.mk
netfilter.mk
nls.mk
package-bin.mk
package-defaults.mk
package-dumpinfo.mk
package-ipkg.mk
package-seccomp.mk
package.mk build: prevent spurious package rebuilds under CONFIG_AUTOREMOVE 2018-05-22 09:28:16 +02:00
prereq-build.mk build: add busybox support to time prereq-check 2018-06-18 21:31:49 +02:00
prereq.mk
quilt.mk
rootfs.mk
scan.awk
scan.mk
scons.mk
shell.sh
subdir.mk build: add busybox support to time prereq-check 2018-06-18 21:31:49 +02:00
target.mk
toolchain-build.mk
toplevel.mk
u-boot.mk
uclibc++.mk
unpack.mk
verbose.mk
version.mk