aboutsummaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-09-02 15:10:48 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-09-02 15:10:48 +0200
commit29ace1e216d8c1a588a505c83075c1efde45b299 (patch)
treeeb6eeb5473324bbf13301cca5a53a3110454ba61 /fs
parent8ce27bb9fee80a406a4199657ef90e3c315e7457 (diff)
parentf80572547038373ff58d2e7a0c89f9c014d12e22 (diff)
downloadbuildroot-29ace1e216d8c1a588a505c83075c1efde45b299.tar.gz
buildroot-29ace1e216d8c1a588a505c83075c1efde45b299.tar.bz2
Merge branch 'next'
Diffstat (limited to 'fs')
-rw-r--r--fs/squashfs/squashfs.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/squashfs/squashfs.mk b/fs/squashfs/squashfs.mk
index 342c7a8a37..7de7f51af1 100644
--- a/fs/squashfs/squashfs.mk
+++ b/fs/squashfs/squashfs.mk
@@ -6,6 +6,8 @@
ROOTFS_SQUASHFS_DEPENDENCIES = host-squashfs
+ROOTFS_SQUASHFS_ARGS = -noappend -processors $(PARALLEL_JOBS)
+
ifeq ($(BR2_TARGET_ROOTFS_SQUASHFS4_LZ4),y)
ROOTFS_SQUASHFS_ARGS += -comp lz4 -Xhc
else ifeq ($(BR2_TARGET_ROOTFS_SQUASHFS4_LZO),y)
@@ -19,8 +21,7 @@ ROOTFS_SQUASHFS_ARGS += -comp gzip
endif
define ROOTFS_SQUASHFS_CMD
- $(HOST_DIR)/bin/mksquashfs $(TARGET_DIR) $@ -noappend \
- $(ROOTFS_SQUASHFS_ARGS)
+ $(HOST_DIR)/bin/mksquashfs $(TARGET_DIR) $@ $(ROOTFS_SQUASHFS_ARGS)
endef
$(eval $(call ROOTFS_TARGET,squashfs))