summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorMike Looijmans <mike.looijmans@topic.nl>2014-08-12 09:54:58 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-08-15 18:21:51 +0100
commit6ac0696d10e6d9973803fab1a9364349d7554ed5 (patch)
treee1c7dabd74851c462dda1cf59c3eb689872cd34a /meta/recipes-devtools
parentf21f385228e6d09553ae3c438f2c6f9f868d0b58 (diff)
downloadpoky-6ac0696d10e6d9973803fab1a9364349d7554ed5.tar.gz
squashfs-tools: Add support for LZO and LZ4 compression
For systems that want to optimize for speed rather than size, LZO is usually a better choice than gzip or XZ. Kernel support for LZO has been available since 2.6.29. LZ4 support isn't in the mainline kernel yet, but we might as well add it now for those who want to experiment with it. (From OE-Core rev: 6c95440ed5c181754bb7c04da678081498840683) Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/squashfs-tools/squashfs-tools_4.3.bb4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-devtools/squashfs-tools/squashfs-tools_4.3.bb b/meta/recipes-devtools/squashfs-tools/squashfs-tools_4.3.bb
index 54fd3bb85f..e3783fd81d 100644
--- a/meta/recipes-devtools/squashfs-tools/squashfs-tools_4.3.bb
+++ b/meta/recipes-devtools/squashfs-tools/squashfs-tools_4.3.bb
@@ -6,7 +6,7 @@ LICENSE = "GPL-2 & PD"
6LIC_FILES_CHKSUM = "file://../COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ 6LIC_FILES_CHKSUM = "file://../COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
7 file://../../7zC.txt;beginline=12;endline=16;md5=2056cd6d919ebc3807602143c7449a7c \ 7 file://../../7zC.txt;beginline=12;endline=16;md5=2056cd6d919ebc3807602143c7449a7c \
8 " 8 "
9DEPENDS = "attr zlib xz" 9DEPENDS = "attr zlib xz lzo lz4"
10 10
11SRC_URI = "${SOURCEFORGE_MIRROR}/squashfs/squashfs${PV}.tar.gz;name=squashfs \ 11SRC_URI = "${SOURCEFORGE_MIRROR}/squashfs/squashfs${PV}.tar.gz;name=squashfs \
12 http://downloads.sourceforge.net/sevenzip/lzma465.tar.bz2;name=lzma \ 12 http://downloads.sourceforge.net/sevenzip/lzma465.tar.bz2;name=lzma \
@@ -23,7 +23,7 @@ S = "${WORKDIR}/squashfs${PV}/squashfs-tools"
23# EXTRA_OEMAKE is typically: -e MAKEFLAGS= 23# EXTRA_OEMAKE is typically: -e MAKEFLAGS=
24# the -e causes problems as CFLAGS is modified in the Makefile, so 24# the -e causes problems as CFLAGS is modified in the Makefile, so
25# we redefine EXTRA_OEMAKE here 25# we redefine EXTRA_OEMAKE here
26EXTRA_OEMAKE = "MAKEFLAGS= LZMA_SUPPORT=1 LZMA_DIR=../.. XZ_SUPPORT=1" 26EXTRA_OEMAKE = "MAKEFLAGS= LZMA_SUPPORT=1 LZMA_DIR=../.. XZ_SUPPORT=1 LZO_SUPPORT=1 LZ4_SUPPORT=1"
27 27
28do_compile() { 28do_compile() {
29 oe_runmake mksquashfs 29 oe_runmake mksquashfs