diff options
author | kaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-10-26 12:06:47 +0000 |
---|---|---|
committer | kaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-10-26 12:06:47 +0000 |
commit | 706035474c2446d2adb81cf3c406e5c81eb8dc78 (patch) | |
tree | da7b39cde7f9b3ee712afbffe85dea13d398ba15 | |
parent | 8bea5a1f5474293566f3859cc958667c646eb2f7 (diff) |
swap logic on squashfs version selection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18163 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | include/image.mk | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/image.mk b/include/image.mk index cab9722df6..237d87c90a 100644 --- a/include/image.mk +++ b/include/image.mk @@ -23,15 +23,15 @@ JFFS2OPTS := --pad --big-endian --squash SQUASHFS_OPTS := -be endif -ifneq ($(CONFIG_LINUX_2_6_30)$(CONFIG_LINUX_2_6_31),) -USE_SQUASHFS4 := y +ifneq ($(CONFIG_LINUX_2_6_21)$(CONFIG_LINUX_2_6_25)$(CONFIG_LINUX_2_6_28),) +USE_SQUASHFS3 := y endif -ifneq ($(USE_SQUASHFS4),) +ifneq ($(USE_SQUASHFS3),) +MKSQUASHFS_CMD := $(STAGING_DIR_HOST)/bin/mksquashfs-lzma +else MKSQUASHFS_CMD := $(STAGING_DIR_HOST)/bin/mksquashfs4 SQUASHFS_OPTS := -lzma -processors 1 -else -MKSQUASHFS_CMD := $(STAGING_DIR_HOST)/bin/mksquashfs-lzma endif JFFS2_BLOCKSIZE ?= 64k 128k |