From 09d432ba314e799648d8012d2a4d2f23930ec5e5 Mon Sep 17 00:00:00 2001 From: coolsnowwolf Date: Thu, 2 Jul 2020 14:35:44 +0800 Subject: [PATCH] squashfs: make mkfs with multi-cpus speedup --- include/image.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/image.mk b/include/image.mk index fd04d4020..c0d0b6147 100644 --- a/include/image.mk +++ b/include/image.mk @@ -238,7 +238,7 @@ define Image/mkfs/squashfs $(STAGING_DIR_HOST)/bin/mksquashfs4 $(call mkfs_target_dir,$(1)) $@ \ -nopad -noappend -root-owned \ -comp $(SQUASHFSCOMP) $(SQUASHFSOPT) \ - -processors 1 + -processors $(shell nproc) endef # $(1): board name