aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/lz4
diff options
context:
space:
mode:
authorKoen Kooi <koen.kooi@linaro.org>2014-01-14 12:00:45 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-01-14 11:50:47 +0000
commit13e5da254529716b0445895d70b40489ce22941b (patch)
treebd3d212664448892c43a1ca0517f24f580428a6f /meta/recipes-support/lz4
parent783fb88f476c94d5d4f4b954f7053464d9a6dff5 (diff)
downloadopenembedded-core-contrib-13e5da254529716b0445895d70b40489ce22941b.tar.gz
lz4: add r112
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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/lz4')
-rw-r--r--meta/recipes-support/lz4/lz4_svn.bb17
1 files changed, 17 insertions, 0 deletions
diff --git a/meta/recipes-support/lz4/lz4_svn.bb b/meta/recipes-support/lz4/lz4_svn.bb
new file mode 100644
index 00000000000..41464e2351f
--- /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"