X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/9d6983fd7805c5d2c711f159cefb955737f8607a..61a476da4d61774ee01624726fe1bee786f7cf8e:/include/image.mk diff --git a/include/image.mk b/include/image.mk index 686c5a551..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_29)$(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 @@ -92,7 +92,7 @@ endif define Image/Checksum ( cd ${BIN_DIR} ; \ $(FIND) -maxdepth 1 -type f \! -name 'md5sums' -printf "%P\n" | xargs \ - md5sum > md5sums \ + md5sum --binary > md5sums \ ) endef