squashfs: make mkfs with multi-cpus speedup

This commit is contained in:
coolsnowwolf 2020-07-03 15:17:32 +08:00 committed by CN_SZTL
parent 703bbfd21a
commit e519d59660
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -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