immortalwrt/include
Stijn Tintel a36ec178b5
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>
(cherry picked from commit df2ae8826c)
2022-04-24 09:31:37 +08:00
..
site Revert faulty tree push 2019-08-12 12:27:06 +02:00
autotools.mk build: add support for patching libtool to include ABI version in soname 2021-02-15 18:47:19 +01:00
cmake.mk Revert "build: replace which with Bash command built-in" 2021-03-03 23:02:30 +01:00
debug.mk build: use SPDX license tags 2021-02-05 14:54:47 +01:00
depends.mk build: use SPDX license tags 2021-02-05 14:54:47 +01:00
device_table.txt image: ensure that /dev/console exist in rootfs images 2013-08-27 12:02:58 +00:00
download.mk Revert "treewide: add mirrors for GitHub Codeload" 2021-03-23 16:59:39 +08:00
feeds.mk build: ensure that dash isn't prepended twice to abi version suffix 2021-07-11 16:09:30 +02:00
hardened-ld-pie.specs build: add hardened builds with PIE (ASLR) support 2018-01-27 16:46:45 +01:00
hardening.mk build: use SPDX license tags 2021-02-05 14:54:47 +01:00
host-build.mk build: use SPDX license tags 2021-02-05 14:54:47 +01:00
image-commands.mk x86: added support to generate VHDX images 2022-04-22 11:32:36 +08:00
image.mk image: let mksquashfs4 use all processors 2022-04-24 09:31:37 +08:00
kernel-build.mk build: use SPDX license tags 2021-02-05 14:54:47 +01:00
kernel-defaults.mk kernel-defaults: fix external kernel build when user_headers is missing 2021-05-23 16:10:59 +02:00
kernel-version.mk kernel: bump 5.4 to 5.4.188 2022-04-07 20:42:34 +02:00
kernel.mk build: use -nostdinc and -isystem in NOSTDINC_FLAGS for out-of-tree kernel modules 2021-04-04 11:39:51 +02:00
netfilter.mk netfilter: drop kmod-ipt-cgroup 2021-03-22 17:08:38 +08:00
nls.mk build: use SPDX license tags 2021-02-05 14:54:47 +01:00
package-bin.mk build: use SPDX license tags 2021-02-05 14:54:47 +01:00
package-defaults.mk build: use SPDX license tags 2021-02-05 14:54:47 +01:00
package-dumpinfo.mk build: drop ABI version from metadata 2021-02-14 19:41:52 +01:00
package-ipkg.mk build: prepend ABI suffixes with a dash if package name ends with digit 2021-07-11 16:09:30 +02:00
package-seccomp.mk build: use SPDX license tags 2021-02-05 14:54:47 +01:00
package.mk build: filter out own packages on package version check 2021-02-15 21:10:48 +01:00
prereq-build.mk Merge Official Source 2021-10-18 13:40:04 +08:00
prereq.mk Revert "build: replace which with Bash command built-in" 2021-03-03 23:02:30 +01:00
quilt.mk build: use SPDX license tags 2021-02-05 14:54:47 +01:00
rootfs.mk build: reduce cleanup binary calls in rootfs.mk 2020-12-05 22:07:00 -10:00
scan.awk build: propagate override information to .packageinfo 2015-02-09 12:09:31 +00:00
scan.mk build: have scripts/feeds honor all toplevel .mk-files of a feed 2019-10-27 14:32:13 +01:00
shell.sh build: use mkhash to replace various quirky md5sum/openssl calls 2017-01-05 11:09:12 +01:00
subdir.mk build: use SPDX license tags 2021-02-05 14:54:47 +01:00
target.mk target: include zh-cn lang by default 2021-12-05 16:20:03 +08:00
toolchain-build.mk build: use SPDX license tags 2021-02-05 14:54:47 +01:00
toplevel.mk build: IS_TTY is now set according to GNU Make's MAKE_TERMOUT 2021-02-15 16:36:13 -10:00
trusted-firmware-a.mk trusted-firmware-a: fix project name spelling 2021-02-13 20:11:57 +00:00
u-boot.mk u-boot.mk: add LOCALVERSION (explicitly specify OpenWrt build) 2022-03-06 20:56:23 +01:00
uclibc++.mk libcxx[abi]: remove 2020-12-07 10:46:43 -10:00
unpack.mk build: use SPDX license tags 2021-02-05 14:54:47 +01:00
verbose.mk build: use SPDX license tags 2021-02-05 14:54:47 +01:00
version.mk ImmortalWrt v21.02.0: revert to branch defaults 2022-04-22 07:11:48 +08:00