kumquat-buildroot/package/zlib-ng/zlib-ng.mk
Stefan Fröberg e6e40c4592 zlib-ng: new package
zlib-ng, a fast Zlib replacement

Signed-off-by: Stefan Fröberg <stefan.froberg@petroprogram.com>
[Thomas: drop host variant.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2018-01-03 22:42:52 +01:00

23 lines
704 B
Makefile

################################################################################
#
# zlib-ng
#
################################################################################
ZLIB_NG_VERSION = a17fefa147942edbf80ab22a16bcbc2419def12d
ZLIB_NG_SITE = $(call github,mtl1979,zlib-ng,$(ZLIB_NG_VERSION))
ZLIB_NG_LICENSE = Zlib
ZLIB_NG_LICENSE_FILES = LICENSE.md
ZLIB_NG_INSTALL_STAGING = YES
ZLIB_NG_PROVIDES = zlib
# Build with zlib compatible API, gzFile support and optimizations on
ZLIB_NG_CONF_OPTS += -DZLIB_COMPAT=1 -DWITH_GZFILEOP=1 -DWITH_OPTIM=1 -DCC=$(TARGET_CC)
# Enable NEON and ACLE on ARM
ifeq ($(BR2_arm),y)
ZLIB_NG_CONF_OPTS += -DWITH_ACLE=1 -DWITH_NEON=1
endif
$(eval $(cmake-package))