Bump buidlroot version to 2018.02.6

This commit is contained in:
jbnadal
2018-10-22 14:55:59 +02:00
parent 222960cedb
commit bec94fdb63
6150 changed files with 84803 additions and 117446 deletions

View File

@@ -1,7 +1,55 @@
config BR2_PACKAGE_ZLIB_NG_ARCH_SUPPORTS
bool
default y if BR2_arm
default y if BR2_aarch64
default y if BR2_i386
default y if BR2_x86_64
config BR2_PACKAGE_ZLIB
bool "zlib support"
help
Select the desired Zlib library provider.
if BR2_PACKAGE_ZLIB
choice
prompt "zlib variant"
default BR2_PACKAGE_LIBZLIB
help
Select the desired Zlib library provider.
config BR2_PACKAGE_LIBZLIB
bool "zlib"
select BR2_PACKAGE_HAS_ZLIB
help
Standard (de)compression library. Used by things like
gzip and libpng.
http://www.zlib.net
config BR2_PACKAGE_ZLIB_NG
bool "zlib-ng"
depends on BR2_PACKAGE_ZLIB_NG_ARCH_SUPPORTS
select BR2_PACKAGE_HAS_ZLIB
help
Zlib replacement with optimizations for
"next generation" systems.
https://github.com/mtl1979/zlib-ng/tree/renamelib
endchoice
config BR2_PACKAGE_HAS_ZLIB
bool
config BR2_PACKAGE_PROVIDES_ZLIB
string
default "libzlib" if BR2_PACKAGE_LIBZLIB
default "zlib-ng" if BR2_PACKAGE_ZLIB_NG
endif
# ensure libzlib is used for the host variant
config BR2_PACKAGE_PROVIDES_HOST_ZLIB
string
default "host-libzlib"

View File

@@ -1,2 +0,0 @@
# From http://www.zlib.net/
sha256 4ff941449631ace0d4d203e3483be9dbc9da454084111f97ea0a2114e19bf066 zlib-1.2.11.tar.xz

View File

@@ -4,74 +4,5 @@
#
################################################################################
ZLIB_VERSION = 1.2.11
ZLIB_SOURCE = zlib-$(ZLIB_VERSION).tar.xz
ZLIB_SITE = http://www.zlib.net
ZLIB_LICENSE = zlib license
ZLIB_LICENSE_FILES = README
ZLIB_INSTALL_STAGING = YES
# It is not possible to build only a shared version of zlib, so we build both
# shared and static, unless we only want the static libs, and we eventually
# selectively remove what we do not want
ifeq ($(BR2_STATIC_LIBS),y)
ZLIB_PIC =
ZLIB_SHARED = --static
else
ZLIB_PIC = -fPIC
ZLIB_SHARED = --shared
endif
define ZLIB_CONFIGURE_CMDS
(cd $(@D); rm -rf config.cache; \
$(TARGET_CONFIGURE_ARGS) \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS) $(ZLIB_PIC)" \
./configure \
$(ZLIB_SHARED) \
--prefix=/usr \
)
endef
define HOST_ZLIB_CONFIGURE_CMDS
(cd $(@D); rm -rf config.cache; \
$(HOST_CONFIGURE_ARGS) \
$(HOST_CONFIGURE_OPTS) \
./configure \
--prefix="$(HOST_DIR)/usr" \
--sysconfdir="$(HOST_DIR)/etc" \
)
endef
define ZLIB_BUILD_CMDS
$(TARGET_MAKE_ENV) $(MAKE1) -C $(@D)
endef
define HOST_ZLIB_BUILD_CMDS
$(HOST_MAKE_ENV) $(MAKE1) -C $(@D)
endef
define ZLIB_INSTALL_STAGING_CMDS
$(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) DESTDIR=$(STAGING_DIR) LDCONFIG=true install
endef
define ZLIB_INSTALL_TARGET_CMDS
$(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) DESTDIR=$(TARGET_DIR) LDCONFIG=true install
endef
# We don't care removing the .a from target, since it not used at link
# time to build other packages, and it is anyway removed later before
# assembling the filesystem images anyway.
ifeq ($(BR2_SHARED_LIBS),y)
define ZLIB_RM_STATIC_STAGING
rm -f $(STAGING_DIR)/usr/lib/libz.a
endef
ZLIB_POST_INSTALL_STAGING_HOOKS += ZLIB_RM_STATIC_STAGING
endif
define HOST_ZLIB_INSTALL_CMDS
$(HOST_MAKE_ENV) $(MAKE1) -C $(@D) LDCONFIG=true install
endef
$(eval $(generic-package))
$(eval $(host-generic-package))
$(eval $(virtual-package))
$(eval $(host-virtual-package))