X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/39df09f65842dd54aefce12d92e5a4e32d93ffce..f71b9d11f60628053b1de337ed8374a6bcffceab:/include/image.mk?ds=inline diff --git a/include/image.mk b/include/image.mk index 0b2d3e358..cab9722df 100644 --- a/include/image.mk +++ b/include/image.mk @@ -23,13 +23,13 @@ JFFS2OPTS := --pad --big-endian --squash SQUASHFS_OPTS := -be endif -ifneq ($(CONFIG_LINUX_2_6_30),) +ifneq ($(CONFIG_LINUX_2_6_30)$(CONFIG_LINUX_2_6_31),) USE_SQUASHFS4 := y endif ifneq ($(USE_SQUASHFS4),) MKSQUASHFS_CMD := $(STAGING_DIR_HOST)/bin/mksquashfs4 -SQUASHFS_OPTS := -lzma +SQUASHFS_OPTS := -lzma -processors 1 else MKSQUASHFS_CMD := $(STAGING_DIR_HOST)/bin/mksquashfs-lzma endif