update buildroot to 2017.02.11
This commit is contained in:
6
bsp/buildroot-2017.02.11/package/expat/Config.in
Normal file
6
bsp/buildroot-2017.02.11/package/expat/Config.in
Normal file
@@ -0,0 +1,6 @@
|
||||
config BR2_PACKAGE_EXPAT
|
||||
bool "expat"
|
||||
help
|
||||
The Expat XML Parser.
|
||||
|
||||
http://expat.sourceforge.net
|
||||
5
bsp/buildroot-2017.02.11/package/expat/expat.hash
Normal file
5
bsp/buildroot-2017.02.11/package/expat/expat.hash
Normal file
@@ -0,0 +1,5 @@
|
||||
# From https://sourceforge.net/projects/expat/files/expat/2.2.2/
|
||||
md5 1ede9a41223c78528b8c5d23e69a2667 expat-2.2.2.tar.bz2
|
||||
sha1 891cee988b38d5d66953f62f94c3150b8810a70a expat-2.2.2.tar.bz2
|
||||
# Calculated based on the hashes above
|
||||
sha256 4376911fcf81a23ebd821bbabc26fd933f3ac74833f74924342c29aad2c86046 expat-2.2.2.tar.bz2
|
||||
28
bsp/buildroot-2017.02.11/package/expat/expat.mk
Normal file
28
bsp/buildroot-2017.02.11/package/expat/expat.mk
Normal file
@@ -0,0 +1,28 @@
|
||||
################################################################################
|
||||
#
|
||||
# expat
|
||||
#
|
||||
################################################################################
|
||||
|
||||
EXPAT_VERSION = 2.2.2
|
||||
EXPAT_SITE = http://downloads.sourceforge.net/project/expat/expat/$(EXPAT_VERSION)
|
||||
EXPAT_SOURCE = expat-$(EXPAT_VERSION).tar.bz2
|
||||
EXPAT_INSTALL_STAGING = YES
|
||||
EXPAT_INSTALL_STAGING_OPTS = DESTDIR=$(STAGING_DIR) installlib
|
||||
EXPAT_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) installlib
|
||||
EXPAT_DEPENDENCIES = host-pkgconf
|
||||
HOST_EXPAT_DEPENDENCIES = host-pkgconf
|
||||
EXPAT_LICENSE = MIT
|
||||
EXPAT_LICENSE_FILES = COPYING
|
||||
|
||||
# Kernel versions older than 3.17 do not support getrandom()
|
||||
ifeq ($(BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17),)
|
||||
EXPAT_CONF_ENV += CPPFLAGS="$(TARGET_CPPFLAGS) -DXML_POOR_ENTROPY"
|
||||
endif
|
||||
|
||||
# Make build succeed on host kernel older than 3.17. getrandom() will still
|
||||
# be used on newer kernels.
|
||||
HOST_EXPAT_CONF_ENV += CPPFLAGS="$(HOST_CPPFLAGS) -DXML_POOR_ENTROPY"
|
||||
|
||||
$(eval $(autotools-package))
|
||||
$(eval $(host-autotools-package))
|
||||
Reference in New Issue
Block a user