Initial Commit

- initial default booting image
This commit is contained in:
2026-11-06 20:45:42 +01:00
commit b8783708ae
15201 changed files with 602532 additions and 0 deletions

View File

@@ -0,0 +1,51 @@
From 915f62dcd9f0a372944f749cf4acd707db10c5fd Mon Sep 17 00:00:00 2001
From: Alper Ak <alperyasinak1@gmail.com>
Date: Wed, 9 Jul 2025 12:59:17 +0300
Subject: [PATCH] cmake: Set minimum required version to 3.5 for CMake 4+
compatibility
Fix:
| CMake Error at CMakeLists.txt:2 (cmake_minimum_required):
| Compatibility with CMake < 3.5 has been removed from CMake.
|
| Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
| to tell CMake that the project requires at least <min> but has been updated
| to work with policies introduced by <max> or earlier.
|
| Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
|
|
| -- Configuring incomplete, errors occurred!
Signed-off-by: Alper Ak <alperyasinak1@gmail.com>
Signed-off-by: Benoît Monin <benoit.monin@bootlin.com>
Upstream: https://github.com/dvidelabs/flatcc/pull/349
---
CMakeLists.txt | 2 +-
external/hash/CMakeLists.txt | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d4127f598..b51e5c5bd 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -2,7 +2,7 @@
#cmake_minimum_required (VERSION 2.8.12.2)
# Centos 7
#cmake_minimum_required (VERSION 2.8.11)
-cmake_minimum_required (VERSION 2.8)
+cmake_minimum_required (VERSION 3.5)
# Disable build of tests and samples. Due to custom build step
# dependency on flatcc tool, some custom build configurations may
diff --git a/external/hash/CMakeLists.txt b/external/hash/CMakeLists.txt
index 7b7d990dd..12eb3daa4 100644
--- a/external/hash/CMakeLists.txt
+++ b/external/hash/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required (VERSION 3.0.2)
+cmake_minimum_required (VERSION 3.5)
project (HashTest)

8
package/flatcc/Config.in Normal file
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

View File

@@ -0,0 +1,3 @@
# Locally calculated
sha256 2533c2f1061498499f15acc7e0937dcf35bc68e685d237325124ae0d6c600c2b flatcc-0.6.1.tar.gz
sha256 c8f0d9c1f92c658d87ebd854ee7447a3d3912d2c3a5c78c117787be5d5da8af3 LICENSE

34
package/flatcc/flatcc.mk Normal file
View File

@@ -0,0 +1,34 @@
################################################################################
#
# FLATCC
#
################################################################################
FLATCC_VERSION = 0.6.1
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
FLATCC_CPE_ID_VALID = YES
# 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))