initial buildroot for linux 5.15

This commit is contained in:
Huan.Feng
2021-12-06 14:12:13 +08:00
parent d7767d594e
commit 7b6fc358fa
12736 changed files with 508822 additions and 0 deletions
+8
View File
@@ -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
+3
View File
@@ -0,0 +1,3 @@
# Locally calculated
sha256 a92da3566d11e19bb807a83554b1a2c644a5bd91c9d9b088514456bb56e1c666 flatcc-0.6.0.tar.gz
sha256 c8f0d9c1f92c658d87ebd854ee7447a3d3912d2c3a5c78c117787be5d5da8af3 LICENSE
+32
View File
@@ -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))