zlib-intel: add zlib fork with IA-specific optimisations

This fork of zlib has a number of IA-specific improvements and is
noticably faster when running on Intel hardware.

As this is a relatively minor fork of zlib, include the oe-core recipe
and override where appropriate.  This ensures that we still generate
the ptest package for example.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
This commit is contained in:
Ross Burton 2019-05-03 16:48:46 +01:00 committed by Anuj Mittal
parent b412c96046
commit 3ec3be372d

View File

@ -0,0 +1,16 @@
require recipes-core/zlib/zlib_1.2.11.bb
FILESEXTRAPATHS_append = ":${COREBASE}/meta/recipes-core/zlib/zlib"
SUMMARY = "Zlib Compression Library (Intel-tuned)"
PROVIDES = "zlib"
SRC_URI_remove = "${SOURCEFORGE_MIRROR}/libpng/${BPN}/${PV}/${BPN}-${PV}.tar.xz"
SRC_URI_prepend = "git://github.com/jtkukunas/zlib.git;protocol=git "
SRCREV = "a43a247bfa16ec5368747b5b64f11ea5ca033010"
S = "${WORKDIR}/git"
RPROVIDES_${PN} += "zlib"
RPROVIDES_${PN}-ptest += "zlib-ptest"