All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] squashfs-tools: Enable LZO support
@ 2014-08-11 10:11 Mike Looijmans
  2014-08-11 10:12 ` [PATCH 2/2] Support image type "squashfs-lzo" Mike Looijmans
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Mike Looijmans @ 2014-08-11 10:11 UTC (permalink / raw)
  To: openembedded-core; +Cc: Mike Looijmans

For systems looking for speed rather than size (e.g. booting from serial NOR
flash) LZO is usually a good tradeoff, and usually boots faster than gzip
or even an uncompressed filesystem.

Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
---
 .../squashfs-tools/squashfs-tools_4.2.bb           |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-devtools/squashfs-tools/squashfs-tools_4.2.bb b/meta/recipes-devtools/squashfs-tools/squashfs-tools_4.2.bb
index 57400cd..1ded2c9 100644
--- a/meta/recipes-devtools/squashfs-tools/squashfs-tools_4.2.bb
+++ b/meta/recipes-devtools/squashfs-tools/squashfs-tools_4.2.bb
@@ -6,7 +6,7 @@ LICENSE = "GPL-2 & PD"
 LIC_FILES_CHKSUM = "file://../COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \
                     file://../../7zC.txt;beginline=12;endline=16;md5=2056cd6d919ebc3807602143c7449a7c \
                    "
-DEPENDS = "attr zlib xz"
+DEPENDS = "attr zlib xz lzo"
 PR = "r2"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/squashfs/squashfs${PV}.tar.gz;name=squashfs \
@@ -27,7 +27,7 @@ S = "${WORKDIR}/squashfs${PV}/squashfs-tools"
 # EXTRA_OEMAKE is typically: -e MAKEFLAGS=
 # the -e causes problems as CFLAGS is modified in the Makefile, so
 # we redefine EXTRA_OEMAKE here
-EXTRA_OEMAKE = "MAKEFLAGS= LZMA_SUPPORT=1 LZMA_DIR=../.. XZ_SUPPORT=1"
+EXTRA_OEMAKE = "MAKEFLAGS= LZMA_SUPPORT=1 LZMA_DIR=../.. LZO_SUPPORT=1 XZ_SUPPORT=1"
 
 do_compile() {
         oe_runmake mksquashfs
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 8+ messages in thread
* [PATCH 1/2] squashfs-tools: Enable LZO support
@ 2014-08-11  7:10 Mike Looijmans
  0 siblings, 0 replies; 8+ messages in thread
From: Mike Looijmans @ 2014-08-11  7:10 UTC (permalink / raw)
  To: openembedded-core; +Cc: Mike Looijmans

For systems looking for speed rather than size (e.g. booting from serial NOR
flash) LZO is usually a good tradeoff, and usually boots faster than gzip
or even an uncompressed filesystem.

Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
---
 .../squashfs-tools/squashfs-tools_4.2.bb           |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-devtools/squashfs-tools/squashfs-tools_4.2.bb b/meta/recipes-devtools/squashfs-tools/squashfs-tools_4.2.bb
index 57400cd..1ded2c9 100644
--- a/meta/recipes-devtools/squashfs-tools/squashfs-tools_4.2.bb
+++ b/meta/recipes-devtools/squashfs-tools/squashfs-tools_4.2.bb
@@ -6,7 +6,7 @@ LICENSE = "GPL-2 & PD"
 LIC_FILES_CHKSUM = "file://../COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \
                     file://../../7zC.txt;beginline=12;endline=16;md5=2056cd6d919ebc3807602143c7449a7c \
                    "
-DEPENDS = "attr zlib xz"
+DEPENDS = "attr zlib xz lzo"
 PR = "r2"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/squashfs/squashfs${PV}.tar.gz;name=squashfs \
@@ -27,7 +27,7 @@ S = "${WORKDIR}/squashfs${PV}/squashfs-tools"
 # EXTRA_OEMAKE is typically: -e MAKEFLAGS=
 # the -e causes problems as CFLAGS is modified in the Makefile, so
 # we redefine EXTRA_OEMAKE here
-EXTRA_OEMAKE = "MAKEFLAGS= LZMA_SUPPORT=1 LZMA_DIR=../.. XZ_SUPPORT=1"
+EXTRA_OEMAKE = "MAKEFLAGS= LZMA_SUPPORT=1 LZMA_DIR=../.. LZO_SUPPORT=1 XZ_SUPPORT=1"
 
 do_compile() {
         oe_runmake mksquashfs
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-08-12  7:55 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-11 10:11 [PATCH 1/2] squashfs-tools: Enable LZO support Mike Looijmans
2014-08-11 10:12 ` [PATCH 2/2] Support image type "squashfs-lzo" Mike Looijmans
2014-08-11 10:15 ` [PATCH 1/2] squashfs-tools: Enable LZO support Mike Looijmans
2014-08-11 10:33 ` Richard Purdie
2014-08-11 10:52   ` Mike Looijmans
2014-08-12  7:54   ` [PATCH v2 1/2] squashfs-tools: Add support for LZO and LZ4 compression Mike Looijmans
2014-08-12  7:54     ` [PATCH v2 2/2] Support image type "squashfs-lzo" Mike Looijmans
  -- strict thread matches above, loose matches on Subject: below --
2014-08-11  7:10 [PATCH 1/2] squashfs-tools: Enable LZO support Mike Looijmans

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.