parallel built squashfs

This commit is contained in:
lean 2021-06-16 16:31:44 +08:00
parent b3855f2f18
commit 258d06f43d

View File

@ -229,7 +229,7 @@ define Image/mkfs/squashfs-common
$(STAGING_DIR_HOST)/bin/mksquashfs4 $(call mkfs_target_dir,$(1)) $@ \ $(STAGING_DIR_HOST)/bin/mksquashfs4 $(call mkfs_target_dir,$(1)) $@ \
-nopad -noappend -root-owned \ -nopad -noappend -root-owned \
-comp $(SQUASHFSCOMP) $(SQUASHFSOPT) \ -comp $(SQUASHFSCOMP) $(SQUASHFSOPT) \
-processors 1 -processors $(shell nproc)
endef endef
ifeq ($(CONFIG_TARGET_ROOTFS_SECURITY_LABELS),y) ifeq ($(CONFIG_TARGET_ROOTFS_SECURITY_LABELS),y)