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,41 @@
From c850e04898a9498d447b43bf346365646ff1b19c Mon Sep 17 00:00:00 2001
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Date: Fri, 13 May 2022 23:12:31 +0200
Subject: [PATCH] CMakeLists.txt: honour BUILD_TESTING
Allow the user to disable tests through the standard BUILD_TESTING
option: https://cmake.org/cmake/help/latest/module/CTest.html
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[Upstream status: https://github.com/signalwire/libks/pull/125]
---
CMakeLists.txt | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5bbac31..37e6bcd 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,5 +1,6 @@
cmake_minimum_required(VERSION 3.7.2)
+option(BUILD_TESTING "Build tests" ON)
option(KS_DEBUG_MUTEX "Debug mutexes, only works on linux for now" OFF)
option(KS_DEBUG_SPINLOCK "Debug spinlocks" OFF)
option(KS_DEBUG_POOL "Track pool allocations and provide hooks for rendering them" OFF)
@@ -609,8 +610,10 @@ endif()
#cotire(ks)
# Add tests
-enable_testing()
-add_subdirectory(tests)
+if (BUILD_TESTING)
+ enable_testing()
+ add_subdirectory(tests)
+endif()
if (WITH_KS_TEST)
enable_testing()
--
2.35.1

17
package/libks/Config.in Normal file
View File

@@ -0,0 +1,17 @@
config BR2_PACKAGE_LIBKS
bool "libks"
depends on BR2_INSTALL_LIBSTDCPP
depends on !BR2_STATIC_LIBS # dlfcn.h
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # pthread_setname_np()
select BR2_PACKAGE_OPENSSL
select BR2_PACKAGE_LIBOPENSSL_ENGINES if BR2_PACKAGE_LIBOPENSSL
select BR2_PACKAGE_UTIL_LINUX
select BR2_PACKAGE_UTIL_LINUX_LIBUUID
help
Foundational support for signalwire C products
https://github.com/signalwire/libks
comment "libks needs a toolchain w/ C++, NPTL, dynamic library"
depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP \
|| !BR2_TOOLCHAIN_HAS_THREADS_NPTL

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

@@ -0,0 +1,3 @@
# Locally computed
sha256 7142800a0c9095ce0e52308c815026a8ad2a197f519363c050fe441039de20be libks-2.0.11.tar.gz
sha256 3aba376a08bf91c95518532e627157f0ee3ab2712d1198463e2b1ac9186dd142 copyright

14
package/libks/libks.mk Normal file
View File

@@ -0,0 +1,14 @@
################################################################################
#
# libks
#
################################################################################
LIBKS_VERSION = 2.0.11
LIBKS_SITE = $(call github,signalwire,libks,v$(LIBKS_VERSION))
LIBKS_LICENSE = MIT
LIBKS_LICENSE_FILES = copyright
LIBKS_INSTALL_STAGING = YES
LIBKS_DEPENDENCIES = openssl util-linux
$(eval $(cmake-package))