From 75fc3be079d1e434dd5f76f664a5b352bfc0d789 Mon Sep 17 00:00:00 2001 From: coolsnowwolf Date: Fri, 3 Jul 2020 15:17:32 +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 300f7a661..18ad10cfe 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