aboutsummaryrefslogtreecommitdiffstats
path: root/include
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
commit32b5ea459c24eb0448dce2d8f8a7daffd39c7a2b (patch)
treeef8c8eaf6d560f19f41bf94b79a03029c8a3e386 /include
parent2f21dedbbbc1539c6f03d8b9bc981e304aacfa07 (diff)
downloadupstream-32b5ea459c24eb0448dce2d8f8a7daffd39c7a2b.tar.gz
upstream-32b5ea459c24eb0448dce2d8f8a7daffd39c7a2b.tar.bz2
upstream-32b5ea459c24eb0448dce2d8f8a7daffd39c7a2b.zip
[include] image.mk: pass through $(CONFIG_PKG_BUILD_JOBS) to the mksquashfs -processors option
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28305 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include')
-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