mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
swap logic on squashfs version selection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18163 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -23,15 +23,15 @@ JFFS2OPTS := --pad --big-endian --squash
|
|||||||
SQUASHFS_OPTS := -be
|
SQUASHFS_OPTS := -be
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($(CONFIG_LINUX_2_6_30)$(CONFIG_LINUX_2_6_31),)
|
ifneq ($(CONFIG_LINUX_2_6_21)$(CONFIG_LINUX_2_6_25)$(CONFIG_LINUX_2_6_28),)
|
||||||
USE_SQUASHFS4 := y
|
USE_SQUASHFS3 := y
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($(USE_SQUASHFS4),)
|
ifneq ($(USE_SQUASHFS3),)
|
||||||
|
MKSQUASHFS_CMD := $(STAGING_DIR_HOST)/bin/mksquashfs-lzma
|
||||||
|
else
|
||||||
MKSQUASHFS_CMD := $(STAGING_DIR_HOST)/bin/mksquashfs4
|
MKSQUASHFS_CMD := $(STAGING_DIR_HOST)/bin/mksquashfs4
|
||||||
SQUASHFS_OPTS := -lzma -processors 1
|
SQUASHFS_OPTS := -lzma -processors 1
|
||||||
else
|
|
||||||
MKSQUASHFS_CMD := $(STAGING_DIR_HOST)/bin/mksquashfs-lzma
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
JFFS2_BLOCKSIZE ?= 64k 128k
|
JFFS2_BLOCKSIZE ?= 64k 128k
|
||||||
|
|||||||
Reference in New Issue
Block a user