squashfs: make mkfs with multi-cpus speedup

This commit is contained in:
coolsnowwolf 2020-07-03 15:17:32 +08:00
parent b93293ef8d
commit 75fc3be079

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