initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
config BR2_PACKAGE_FLATCC
|
||||
bool "flatcc"
|
||||
help
|
||||
flatcc is C language implementation of Google Flatbuffers. It
|
||||
consists of both a library for the target as well as a
|
||||
flatbuffer compiler tool for the host.
|
||||
|
||||
https://github.com/dvidelabs/flatcc
|
||||
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 a92da3566d11e19bb807a83554b1a2c644a5bd91c9d9b088514456bb56e1c666 flatcc-0.6.0.tar.gz
|
||||
sha256 c8f0d9c1f92c658d87ebd854ee7447a3d3912d2c3a5c78c117787be5d5da8af3 LICENSE
|
||||
@@ -0,0 +1,32 @@
|
||||
################################################################################
|
||||
#
|
||||
# FLATCC
|
||||
#
|
||||
################################################################################
|
||||
|
||||
FLATCC_VERSION = 0.6.0
|
||||
FLATCC_SITE = $(call github,dvidelabs,flatcc,v$(FLATCC_VERSION))
|
||||
FLATCC_LICENSE = Apache-2.0
|
||||
FLATCC_LICENSE_FILES = LICENSE
|
||||
FLATCC_INSTALL_STAGING = YES
|
||||
FLATCC_DEPENDENCIES = host-flatcc
|
||||
FLATCC_CONF_OPTS = -DFLATCC_ALLOW_WERROR=OFF
|
||||
HOST_FLATCC_CONF_OPTS = -DFLATCC_ALLOW_WERROR=OFF
|
||||
|
||||
# Disable build of tests and samples
|
||||
FLATCC_CONF_OPTS += -DFLATCC_TEST=OFF
|
||||
HOST_FLATCC_CONF_OPTS += -DFLATCC_TEST=OFF
|
||||
|
||||
# Enable install targets
|
||||
FLATCC_CONF_OPTS += -DFLATCC_INSTALL=ON
|
||||
HOST_FLATCC_CONF_OPTS += -DFLATCC_INSTALL=ON
|
||||
|
||||
# compiler is named flatcc or flatcc_d depending on BR2_ENABLE_DEBUG value
|
||||
define FLATCC_TARGET_REMOVE_FLATCC_COMPILER
|
||||
rm $(TARGET_DIR)/usr/bin/flatcc*
|
||||
endef
|
||||
|
||||
FLATCC_POST_INSTALL_TARGET_HOOKS += FLATCC_TARGET_REMOVE_FLATCC_COMPILER
|
||||
|
||||
$(eval $(cmake-package))
|
||||
$(eval $(host-cmake-package))
|
||||
Reference in New Issue
Block a user