update buildroot to 2017.02.11
This commit is contained in:
13
bsp/buildroot-2017.02.11/package/snappy/Config.in
Normal file
13
bsp/buildroot-2017.02.11/package/snappy/Config.in
Normal file
@@ -0,0 +1,13 @@
|
||||
config BR2_PACKAGE_SNAPPY
|
||||
bool "snappy"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
help
|
||||
Snappy is a compression/decompression library. It does not aim for
|
||||
maximum compression, or compatibility with any other compression
|
||||
library; instead, it aims for very high speeds and reasonable
|
||||
compression.
|
||||
|
||||
http://code.google.com/p/snappy/
|
||||
|
||||
comment "snappy needs a toolchain w/ C++"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP
|
||||
2
bsp/buildroot-2017.02.11/package/snappy/snappy.hash
Normal file
2
bsp/buildroot-2017.02.11/package/snappy/snappy.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 f50719c6dc7103d65df66882a3b4569d598eda251266463eca716928187dc12b snappy-32d6d7d8a2ef328a2ee1dd40f072e21f4983ebda.tar.gz
|
||||
28
bsp/buildroot-2017.02.11/package/snappy/snappy.mk
Normal file
28
bsp/buildroot-2017.02.11/package/snappy/snappy.mk
Normal file
@@ -0,0 +1,28 @@
|
||||
################################################################################
|
||||
#
|
||||
# snappy
|
||||
#
|
||||
################################################################################
|
||||
|
||||
SNAPPY_VERSION = 32d6d7d8a2ef328a2ee1dd40f072e21f4983ebda
|
||||
SNAPPY_SITE = $(call github,google,snappy,$(SNAPPY_VERSION))
|
||||
SNAPPY_LICENSE = BSD-3c
|
||||
SNAPPY_LICENSE_FILES = COPYING
|
||||
# from git
|
||||
SNAPPY_AUTORECONF = YES
|
||||
SNAPPY_DEPENDENCIES = host-pkgconf
|
||||
SNAPPY_INSTALL_STAGING = YES
|
||||
|
||||
# Disable tests
|
||||
SNAPPY_CONF_OPTS = --disable-gtest
|
||||
|
||||
# libsnappy links with libstdc++. Some libstdc++/arch variants use
|
||||
# pthread symbols for internal locking if built with thread
|
||||
# support. libstdc++ does not have a .pc file, and its .la file does
|
||||
# not mention -pthread. So, static linkig to libstdc++ will fail if
|
||||
# -pthread is not explicity linked to. Only do that for static builds.
|
||||
ifeq ($(BR2_STATIC_LIBS)$(BR2_TOOLCHAIN_HAS_THREADS),yy)
|
||||
SNAPPY_CONF_OPTS += LIBS=-pthread
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user