mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
squashfs: make mkfs with multi-cpus speedup
This commit is contained in:
parent
b93293ef8d
commit
75fc3be079
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user