Initial Commit
- initial default booting image
This commit is contained in:
3
package/zlib-ng/zlib-ng.hash
Normal file
3
package/zlib-ng/zlib-ng.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 f9c65aa9c852eb8255b636fd9f07ce1c406f061ec19a2e7d508b318ca0c907d1 zlib-ng-2.3.3.tar.gz
|
||||
sha256 6c9f0d975b41afaa34d22f55bb8986ce69e5cb7ad327cb2b28820cd425edf5ee LICENSE.md
|
||||
45
package/zlib-ng/zlib-ng.mk
Normal file
45
package/zlib-ng/zlib-ng.mk
Normal file
@@ -0,0 +1,45 @@
|
||||
################################################################################
|
||||
#
|
||||
# zlib-ng
|
||||
#
|
||||
################################################################################
|
||||
|
||||
ZLIB_NG_VERSION = 2.3.3
|
||||
ZLIB_NG_SITE = $(call github,zlib-ng,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 += \
|
||||
-DCMAKE_C_COMPILER_TARGET=$(BR2_ARCH) \
|
||||
-DWITH_GZFILEOP=1 \
|
||||
-DWITH_OPTIM=1 \
|
||||
-DZLIB_COMPAT=1 \
|
||||
-DZLIB_ENABLE_TESTS=OFF
|
||||
|
||||
# Enable ACLE on ARM
|
||||
ifeq ($(BR2_arm),y)
|
||||
ZLIB_NG_CONF_OPTS += -DWITH_ACLE=1
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_ARM_CPU_HAS_NEON)$(BR2_aarch64),y)
|
||||
ZLIB_NG_CONF_OPTS += -DWITH_NEON=ON
|
||||
else
|
||||
ZLIB_NG_CONF_OPTS += -DWITH_NEON=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_powerpc_power8):$(BR2_POWERPC_SOFT_FLOAT),y:)
|
||||
ZLIB_NG_CONF_OPTS += -DWITH_POWER8=ON
|
||||
else
|
||||
ZLIB_NG_CONF_OPTS += -DWITH_POWER8=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_powerpc_power9):$(BR2_POWERPC_SOFT_FLOAT),y:)
|
||||
ZLIB_NG_CONF_OPTS += -DWITH_POWER9=ON
|
||||
else
|
||||
ZLIB_NG_CONF_OPTS += -DWITH_POWER9=OFF
|
||||
endif
|
||||
|
||||
$(eval $(cmake-package))
|
||||
Reference in New Issue
Block a user