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,36 @@
From 58bc7c823c2e39f1a626ec4da86952bc6819bd6b Mon Sep 17 00:00:00 2001
From: Markus Vieth <mvieth@techfak.uni-bielefeld.de>
Date: Sun, 30 Mar 2025 11:12:07 +0200
Subject: [PATCH] Make compatible with CMake 4.0 When trying to build with
CMake 4.0, the following error is shown:
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.
This change raises the minimum required CMake version to 3.5 and thus makes the project compatible with CMake 4.0
Signed-off-by: Benoît Monin <benoit.monin@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Peter: update for 1.7.19
Upstream: https://github.com/DaveGamble/cJSON/pull/935
---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 36a6cb57..9428da58 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,5 +1,5 @@
set(CMAKE_LEGACY_CYGWIN_WIN32 0)
-cmake_minimum_required(VERSION 3.0)
+cmake_minimum_required(VERSION 3.5)
project(cJSON
VERSION 1.7.19

18
package/cjson/Config.in Normal file
View File

@@ -0,0 +1,18 @@
config BR2_PACKAGE_CJSON
bool "cJSON"
help
An ultra-lightweight, portable, single-file, simple-as-can-be
ANSI-C compliant JSON parser, under MIT license.
https://github.com/DaveGamble/cJSON
if BR2_PACKAGE_CJSON
config BR2_PACKAGE_CJSON_UTILS
bool "cJSON utils"
help
Supplementary library with support for JSON Pointer
(RFC-6901), JSON Patch (RFC-6902), JSON Merge Patch
(RFC-7386), and more.
endif

3
package/cjson/cjson.hash Normal file
View File

@@ -0,0 +1,3 @@
# Locally computed:
sha256 7fa616e3046edfa7a28a32d5f9eacfd23f92900fe1f8ccd988c1662f30454562 cjson-1.7.19.tar.gz
sha256 a36dda207c36db5818729c54e7ad4e8b0c6fba847491ba64f372c1a2037b6d5c LICENSE

41
package/cjson/cjson.mk Normal file
View File

@@ -0,0 +1,41 @@
################################################################################
#
# cjson
#
################################################################################
CJSON_VERSION = 1.7.19
CJSON_SITE = $(call github,DaveGamble,cjson,v$(CJSON_VERSION))
CJSON_INSTALL_STAGING = YES
CJSON_LICENSE = MIT
CJSON_LICENSE_FILES = LICENSE
CJSON_CPE_ID_VENDOR = davegamble
# Set ENABLE_CUSTOM_COMPILER_FLAGS to OFF in particular to disable
# -fstack-protector-strong which depends on BR2_TOOLCHAIN_HAS_SSP
CJSON_CONF_OPTS += \
-DENABLE_CJSON_TEST=OFF \
-DENABLE_CUSTOM_COMPILER_FLAGS=OFF
# If BUILD_SHARED_AND_STATIC_LIBS is set to OFF, cjson uses the
# standard BUILD_SHARED_LIBS option which is passed by the
# cmake-package infrastructure.
ifeq ($(BR2_SHARED_STATIC_LIBS),y)
CJSON_CONF_OPTS += -DBUILD_SHARED_AND_STATIC_LIBS=ON
else
CJSON_CONF_OPTS += -DBUILD_SHARED_AND_STATIC_LIBS=OFF
endif
ifeq ($(BR2_PACKAGE_CJSON_UTILS),y)
CJSON_CONF_OPTS += -DENABLE_CJSON_UTILS=ON
else
CJSON_CONF_OPTS += -DENABLE_CJSON_UTILS=OFF
endif
HOST_CJSON_CONF_OPTS = \
-DENABLE_CJSON_TEST=OFF \
-DENABLE_CUSTOM_COMPILER_FLAGS=OFF \
-DBUILD_SHARED_AND_STATIC_LIBS=OFF \
-DENABLE_CJSON_UTILS=OFF
$(eval $(cmake-package))
$(eval $(host-cmake-package))