mirror of https://github.com/hak5/openwrt.git
image.mk: pass through $(CONFIG_PKG_BUILD_JOBS) to the mksquashfs -processors option
SVN-Revision: 28305lede-17.01
parent
a66d423560
commit
29123aee6d
|
@ -87,7 +87,7 @@ else
|
||||||
ifneq ($(CONFIG_TARGET_ROOTFS_SQUASHFS),)
|
ifneq ($(CONFIG_TARGET_ROOTFS_SQUASHFS),)
|
||||||
define Image/mkfs/squashfs
|
define Image/mkfs/squashfs
|
||||||
@mkdir -p $(TARGET_DIR)/overlay
|
@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)
|
$(call Image/Build,squashfs)
|
||||||
endef
|
endef
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in New Issue