Patchwork [1/5] lz4: add r112

login
register
mail settings
Submitter Koen Kooi
Date Jan. 14, 2014, 11 a.m.
Message ID <1389697249-4062-1-git-send-email-koen.kooi@linaro.org>
Download mbox | patch
Permalink /patch/64707/
State Accepted
Commit f6d3fca05bdd282d79954be8817abb19d8ba8467
Headers show

Comments

Koen Kooi - Jan. 14, 2014, 11 a.m.
lz4-native is needed for kernels using lz4 compression, which was merged in 3.11.

Lz4 has a similar compression rate to lzo but decompresses a lot (>4x) faster.

Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
---
 meta/recipes-support/lz4/lz4_svn.bb | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 meta/recipes-support/lz4/lz4_svn.bb

Patch

diff --git a/meta/recipes-support/lz4/lz4_svn.bb b/meta/recipes-support/lz4/lz4_svn.bb
new file mode 100644
index 0000000..41464e2
--- /dev/null
+++ b/meta/recipes-support/lz4/lz4_svn.bb
@@ -0,0 +1,17 @@ 
+SUMMARY = "Extremely Fast Compression algorithm"
+DESCRIPTION = "LZ4 is a very fast lossless compression algorithm, providing compression speed at 400 MB/s per core, scalable with multi-cores CPU. It also features an extremely fast decoder, with speed in multiple GB/s per core, typically reaching RAM speed limits on multi-core systems."
+
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=2008d2325e11691e17fcaa3a6046f850"
+
+# Upstream names releases after SVN revs
+SRCREV = "112"
+PV = "r${SRCREV}"
+
+SRC_URI = "svn://lz4.googlecode.com/svn/;module=trunk;protocol=http"
+
+S = "${WORKDIR}/trunk"
+
+EXTRA_OEMAKE = "PREFIX=${prefix} CC=${TARGET_PREFIX}gcc DESTDIR=${D}"
+
+BBCLASSEXTEND += "native nativesdk"