X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/6e944703de85ba0c002015b978a72b9deb9f24d2..9f67405758d5164b2b635e4373eebba37f5bec6c:/include/image.mk?ds=sidebyside diff --git a/include/image.mk b/include/image.mk index 65d79f4db..276423971 100644 --- a/include/image.mk +++ b/include/image.mk @@ -87,7 +87,7 @@ else ifneq ($(CONFIG_TARGET_ROOTFS_SQUASHFS),) define Image/mkfs/squashfs @mkdir -p $(TARGET_DIR)/overlay - $(STAGING_DIR_HOST)/bin/mksquashfs4 $(TARGET_DIR) $(KDIR)/root.squashfs -nopad -noappend -root-owned -comp $(SQUASHFSCOMP) -processors 1 + $(STAGING_DIR_HOST)/bin/mksquashfs4 $(TARGET_DIR) $(KDIR)/root.squashfs -nopad -noappend -root-owned -comp $(SQUASHFSCOMP) -processors $(if $(CONFIG_PKG_BUILD_JOBS),$(CONFIG_PKG_BUILD_JOBS),1) $(call Image/Build,squashfs) endef endif