From 258d06f43d5b3569bae7310ead58d7fa313344ec Mon Sep 17 00:00:00 2001 From: lean Date: Wed, 16 Jun 2021 16:31:44 +0800 Subject: [PATCH] parallel built squashfs --- include/image.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/image.mk b/include/image.mk index a7473abe6..2aae30a66 100644 --- a/include/image.mk +++ b/include/image.mk @@ -229,7 +229,7 @@ define Image/mkfs/squashfs-common $(STAGING_DIR_HOST)/bin/mksquashfs4 $(call mkfs_target_dir,$(1)) $@ \ -nopad -noappend -root-owned \ -comp $(SQUASHFSCOMP) $(SQUASHFSOPT) \ - -processors 1 + -processors $(shell nproc) endef ifeq ($(CONFIG_TARGET_ROOTFS_SECURITY_LABELS),y)