mirror of
https://github.com/openwrt/openwrt.git
synced 2026-10-12 04:47:17 +04:00
host-build.mk clears MAKEFLAGS, so a custom Host/Compile that runs a bare $(MAKE) builds with one job, whatever HOST_BUILD_PARALLEL says. mtools sets the flag, but its compile step never used it. Each of the three now passes $(HOST_JOBS), and mkimage and lzma set HOST_BUILD_PARALLEL: mkimage 11.7 s -> 7.2 s mtools 8.3 s -> 4.8 s lzma 4.0 s -> 1.8 s Each one builds five times out of five with the job server, and each build installs files that are identical to those of a serial build. Signed-off-by: John Crispin <john@phrozen.org>