Initial Commit
- initial default booting image
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
From 8e779493cd1597b8a9c50ff48f97d4e5d10f96d6 Mon Sep 17 00:00:00 2001
|
||||
From: Tobias Wellnitz <tobias@dh1tw.de>
|
||||
Date: Sat, 27 Sep 2025 23:51:48 +0200
|
||||
Subject: [PATCH] bumped cmake_minimum_required to Version 3.5
|
||||
|
||||
Modern Cmake versions require cmake_mininum_required to be at least Version 3.5
|
||||
|
||||
Upstream: https://github.com/quiet/libcorrect/pull/50
|
||||
|
||||
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
|
||||
---
|
||||
CMakeLists.txt | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 2e8e07e..67ea044 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -1,4 +1,4 @@
|
||||
-cmake_minimum_required(VERSION 2.8)
|
||||
+cmake_minimum_required(VERSION 3.5)
|
||||
project(Correct C)
|
||||
include(CheckLibraryExists)
|
||||
include(CheckIncludeFiles)
|
||||
@@ -0,0 +1,37 @@
|
||||
From 1a3bb66608b2f96407d14fe13b782626990060f1 Mon Sep 17 00:00:00 2001
|
||||
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
Date: Tue, 20 Nov 2018 08:20:13 +0100
|
||||
Subject: [PATCH] CMakeLists.txt: conditionally use -fsanitize=address
|
||||
|
||||
Check that compiler supports -fsanitize=address before using it
|
||||
|
||||
Fixes:
|
||||
- http://autobuild.buildroot.net/results/221d6a418e75b39fe645c3a56cee676518d2cff6
|
||||
|
||||
Upstream: https://github.com/quiet/libcorrect/pull/26
|
||||
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
---
|
||||
CMakeLists.txt | 6 +++++-
|
||||
1 file changed, 5 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 2e8e07e..c3f71ce 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -17,7 +17,11 @@ if(COMPILER_SUPPORTS_WPEDANTIC)
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wpedantic")
|
||||
endif()
|
||||
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
|
||||
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g3 -O0 -fsanitize=address")
|
||||
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g3 -O0")
|
||||
+ check_c_compiler_flag("-fsanitize=address -Werror" COMPILER_SUPPORTS_SANITIZE_ADDRESS)
|
||||
+ if(COMPILER_SUPPORTS_SANITIZE_ADDRESS)
|
||||
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fsanitize=address")
|
||||
+ endif()
|
||||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,-no_pie,")
|
||||
else()
|
||||
if("${CMAKE_C_COMPILER_ID}" STREQUAL "Clang")
|
||||
--
|
||||
2.14.1
|
||||
|
||||
12
package/libcorrect/Config.in
Normal file
12
package/libcorrect/Config.in
Normal file
@@ -0,0 +1,12 @@
|
||||
config BR2_PACKAGE_LIBCORRECT
|
||||
bool "libcorrect"
|
||||
depends on !BR2_STATIC_LIBS
|
||||
help
|
||||
A C library for Forward Error Correction, providing
|
||||
convolutional codes and Reed-Solomon codes. It is part
|
||||
of the Quiet Modem Project.
|
||||
|
||||
https://github.com/quiet/libcorrect
|
||||
|
||||
comment "libcorrect needs a toolchain w/ dynamic library"
|
||||
depends on BR2_STATIC_LIBS
|
||||
3
package/libcorrect/libcorrect.hash
Normal file
3
package/libcorrect/libcorrect.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 5a4305aabe6c7d5b58f6677c41c54ad5e8d9003f7a5998f7344d93534e4c5760 libcorrect-f5a28c74fba7a99736fe49d3a5243eca29517ae9.tar.gz
|
||||
sha256 135138cd4304aa637836758dc5edfb5f21b7d09ecc637d25288d206b151a5768 LICENSE
|
||||
13
package/libcorrect/libcorrect.mk
Normal file
13
package/libcorrect/libcorrect.mk
Normal file
@@ -0,0 +1,13 @@
|
||||
################################################################################
|
||||
#
|
||||
# libcorrect
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBCORRECT_VERSION = f5a28c74fba7a99736fe49d3a5243eca29517ae9
|
||||
LIBCORRECT_SITE = $(call github,quiet,libcorrect,$(LIBCORRECT_VERSION))
|
||||
LIBCORRECT_LICENSE = BSD-3-Clause
|
||||
LIBCORRECT_LICENSE_FILES = LICENSE
|
||||
LIBCORRECT_INSTALL_STAGING = YES
|
||||
|
||||
$(eval $(cmake-package))
|
||||
Reference in New Issue
Block a user