X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/6e944703de85ba0c002015b978a72b9deb9f24d2..b0d9b00ce864cc8adfd8e49c8a6bcbadf8ed5a9c:/include/image.mk 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