aboutsummaryrefslogtreecommitdiffstats
path: root/tools/squashfs4/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-04-03 01:02:00 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-04-03 01:02:00 +0000
commite6aa1cab006268be2de19e4c82b5eff37516405c (patch)
treea1bcdf9e6680ecd5a8646ab4923d8d43f9971437 /tools/squashfs4/Makefile
parentb9e759ae5a98e3f22e2865518bd3f076af56be61 (diff)
downloadupstream-e6aa1cab006268be2de19e4c82b5eff37516405c.tar.gz
upstream-e6aa1cab006268be2de19e4c82b5eff37516405c.tar.bz2
upstream-e6aa1cab006268be2de19e4c82b5eff37516405c.zip
tools/squashfs4: update to version 4.2 (adds support for xz compression)
Based on a patch by Jonas Gorski SVN-Revision: 26422
Diffstat (limited to 'tools/squashfs4/Makefile')
-rw-r--r--tools/squashfs4/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/tools/squashfs4/Makefile b/tools/squashfs4/Makefile
index ddbca11403..04a5456f6c 100644
--- a/tools/squashfs4/Makefile
+++ b/tools/squashfs4/Makefile
@@ -7,11 +7,11 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=squashfs4
-PKG_VERSION:=4.0
+PKG_VERSION:=4.2
PKG_SOURCE:=squashfs$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/squashfs
-PKG_MD5SUM:=a3c23391da4ebab0ac4a75021ddabf96
+PKG_MD5SUM:=1b7a781fb4cf8938842279bd3e8ee852
PKG_CAT:=zcat
HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/squashfs$(PKG_VERSION)
@@ -20,9 +20,11 @@ include $(INCLUDE_DIR)/host-build.mk
define Host/Compile
$(MAKE) -C $(HOST_BUILD_DIR)/squashfs-tools \
- USE_LZMA=1 \
- LZMA_CFLAGS="-I$(STAGING_DIR_HOST)/include -DUSE_LZMA" \
+ XZ_SUPPORT=1 \
+ LZMA_XZ_SUPPORT=1 \
+ XATTR_SUPPORT= \
LZMA_LIB="$(STAGING_DIR_HOST)/lib/liblzma.a" \
+ EXTRA_CFLAGS="-I$(STAGING_DIR_HOST)/include" \
mksquashfs unsquashfs
endef