openwrt-6.x/include
Stijn Tintel df2ae8826c image: let mksquashfs4 use all processors
Drop the -processors argument from the mksquashfs4 call, so it will use
all available processors. This dramatically reduces the time to create
squashfs filesystems.

The times below are observed when building an image for my main router,
the WatchGuard Firebox M300 (qoriq target):

Before:
real    4m45,973s

After:
real    0m23,497s

With this commit `mksquashfs` may use more cores than defined via `-j`.
This is the same behaviour as for archive creation of ImageBuilder, SDK
or toolchain. There is no trivial way to limit `mksquashfs` CPU core
usage to the amount of "free" make jobs since two running `mksquashfs`
instances would each run with the total allowed number (-j) of threads.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
[extended reasoning in commit message]
Signed-off-by: Paul Spooren <mail@aparcar.org>
2022-03-29 13:32:31 +01:00
..
site
autotools.mk build: autotools: fix cache path 2022-03-28 00:15:52 +01:00
bpf.mk treewide: drop use of which 2022-01-17 09:14:26 +01:00
cmake.mk treewide: drop use of which 2022-01-17 09:14:26 +01:00
debug.mk
depends.mk
device_table.txt
download.mk download: improve handling of invalid local files 2021-11-01 20:18:55 +01:00
feeds.mk
hardened-ld-pie.specs
hardening.mk
host-build.mk build: add HOST_CXXFLAGS for host build 2022-01-16 22:13:46 +01:00
image-commands.mk tools: zip: fetch SOURCE_DATE_EPOCH directly 2022-03-09 15:38:23 +09:00
image.mk image: let mksquashfs4 use all processors 2022-03-29 13:32:31 +01:00
kernel-5.10 kernel: bump 5.10 to 5.10.108 2022-03-26 18:14:39 +00:00
kernel-5.15 generic: 5.15: add support for new kernel version 2022-03-27 02:17:24 +01:00
kernel-build.mk
kernel-defaults.mk kernel: set options to make external initramfs reproducible 2022-03-24 03:28:50 +00:00
kernel-version.mk kernel: split kernel version to dedicated files 2022-01-13 23:46:39 +00:00
kernel.mk
logo.png
logo.svg
meson.mk include/meson: fix host build directory 2022-02-07 00:03:27 +01:00
netfilter.mk kernel: 5.15: add new module 2022-03-27 02:17:24 +01:00
nls.mk gettext: remove package 2021-11-20 21:08:25 +01:00
openssl-engine.mk openssl: move engine.mk to INCLUDE_DIR 2022-03-23 23:13:51 +00:00
package-bin.mk build: allow package to be built for all variants 2021-11-15 00:38:46 +01:00
package-defaults.mk
package-dumpinfo.mk
package-ipkg.mk tools: build bash on macOS and use it for ipkg-build 2022-01-27 13:38:48 +01:00
package-seccomp.mk
package.mk build: fix host package unpack if git-src is used 2021-11-04 16:43:32 +01:00
prereq-build.mk build: fix ldconfig executable error in python 2021-11-02 18:18:00 +01:00
prereq.mk treewide: drop use of which 2022-01-17 09:14:26 +01:00
quilt.mk quilt.mk: fix typo in the Host section 2022-03-19 16:13:58 +01:00
rootfs.mk
scan.awk
scan.mk
shell.sh
subdir.mk build: allow package to be built for all variants 2021-11-15 00:38:46 +01:00
target.mk build: switch to firewall4 by default 2022-01-19 09:20:22 +01:00
toolchain-build.mk
toplevel.mk build: toplevel.mk: fix missing kconfig dependency tracking 2022-02-22 16:37:23 +01:00
trusted-firmware-a.mk
u-boot.mk u-boot.mk: add LOCALVERSION (explicitly specify OpenWrt build) 2022-02-28 23:54:52 +01:00
uclibc++.mk uclibc++: remove 2021-10-24 18:20:50 +02:00
unpack.mk
verbose.mk verbose.mk: print ERROR messages in non-verbose 2022-02-28 23:52:13 +01:00
version.mk