X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/ef7cf93ac58270a213f32097290ed0aa118f9eeb..faa68f7f6bf9fd01f47d1d9ff8fb9d5d617baf5c:/include/image.mk diff --git a/include/image.mk b/include/image.mk index 2fe94a94e..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 := +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