Bump buidlroot version to 2018.02.6
This commit is contained in:
14
bsp/buildroot/package/flatbuffers/Config.in
Normal file
14
bsp/buildroot/package/flatbuffers/Config.in
Normal file
@@ -0,0 +1,14 @@
|
||||
config BR2_PACKAGE_FLATBUFFERS
|
||||
bool "flatbuffers"
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 # C++11
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
help
|
||||
FlatBuffers is an efficient cross platform serialization
|
||||
library for C++, C#, C, Go, Java, JavaScript, PHP, and
|
||||
Python. It was originally created at Google for game
|
||||
development and other performance-critical applications.
|
||||
|
||||
http://google.github.io/flatbuffers/
|
||||
|
||||
comment "flatbuffers needs a toolchain w/ C++, gcc >= 4.7"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
|
||||
3
bsp/buildroot/package/flatbuffers/flatbuffers.hash
Normal file
3
bsp/buildroot/package/flatbuffers/flatbuffers.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally computed:
|
||||
sha256 c45029c0a0f1a88d416af143e34de96b3091642722aa2d8c090916c6d1498c2e flatbuffers-v1.8.0.tar.gz
|
||||
sha256 7ec9661a8afafab1eee3523d6f1a193eff76314a5ab10b4ce96aefd87621b0c3 LICENSE.txt
|
||||
23
bsp/buildroot/package/flatbuffers/flatbuffers.mk
Normal file
23
bsp/buildroot/package/flatbuffers/flatbuffers.mk
Normal file
@@ -0,0 +1,23 @@
|
||||
################################################################################
|
||||
#
|
||||
# flatbuffers
|
||||
#
|
||||
################################################################################
|
||||
|
||||
FLATBUFFERS_VERSION = v1.8.0
|
||||
FLATBUFFERS_SITE = $(call github,google,flatbuffers,$(FLATBUFFERS_VERSION))
|
||||
FLATBUFFERS_LICENSE = Apache-2.0
|
||||
FLATBUFFERS_LICENSE_FILES = LICENSE.txt
|
||||
FLATBUFFERS_INSTALL_STAGING = YES
|
||||
|
||||
FLATBUFFERS_CONF_OPTS += \
|
||||
-DCMAKE_CXX_FLAGS="-std=c++11" \
|
||||
-DFLATBUFFERS_BUILD_TESTS=OFF
|
||||
|
||||
ifeq ($(BR2_STATIC_LIBS),y)
|
||||
FLATBUFFERS_CONF_OPTS += -DFLATBUFFERS_BUILD_SHAREDLIB=OFF
|
||||
else
|
||||
FLATBUFFERS_CONF_OPTS += -DFLATBUFFERS_BUILD_SHAREDLIB=ON
|
||||
endif
|
||||
|
||||
$(eval $(cmake-package))
|
||||
Reference in New Issue
Block a user