aboutsummaryrefslogtreecommitdiffstats
path: root/include/image.mk
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-09-26 02:02:35 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-09-26 02:02:35 +0000
commit29123aee6d3830161d1531d8487c8195d8df2f4f (patch)
treeb18327315e521e4f6ebd73b0b4434ea6b43c4fa0 /include/image.mk
parenta66d4235605b45ad043257c821e6f6f4815fa76e (diff)
downloadupstream-29123aee6d3830161d1531d8487c8195d8df2f4f.tar.gz
upstream-29123aee6d3830161d1531d8487c8195d8df2f4f.tar.bz2
upstream-29123aee6d3830161d1531d8487c8195d8df2f4f.zip
image.mk: pass through $(CONFIG_PKG_BUILD_JOBS) to the mksquashfs -processors option
SVN-Revision: 28305
Diffstat (limited to 'include/image.mk')
-rw-r--r--include/image.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/image.mk b/include/image.mk
index 65d79f4db8..276423971f 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