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,28 @@
From 2d0450bfa3fb7003098da1a7fe24c3ae140912dc Mon Sep 17 00:00:00 2001
From: Gregory Hermant <gregory.hermant@calao-systems.com>
Date: Mon, 22 Oct 2012 15:11:53 +0200
Subject: [PATCH] pthsem build on Linux 3.x host
Signed-off-by: Michael Markstaller <mm@elabnet.de>
Signed-off-by: Gregory Hermant <gregory.hermant@calao-systems.com>
---
acinclude.m4 | 2 ++
1 file changed, 2 insertions(+)
diff --git a/acinclude.m4 b/acinclude.m4
index 03b42de..fea9bc8 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -892,6 +892,8 @@ case $PLATFORM in
case "x`uname -r`" in
changequote(, )dnl
x2.[23456789]* ) ;;
+changequote(, )dnl
+ x3.* ) ;;
changequote([, ])
* ) braindead=yes ;;
esac
--
1.7.9.5

View File

@@ -0,0 +1,36 @@
From 3ec1a1c22142c547bc7f44622291bf0abdc322f1 Mon Sep 17 00:00:00 2001
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Date: Sun, 25 Feb 2024 14:33:02 +0100
Subject: [PATCH] acinclude.m4: fix build with autoconf >= 2.72
Move fi statement where it belongs to fix the following build failure
with autoconf >= 2.72:
checking for stack setup via makecontext... ./configure: line 15863: syntax error near unexpected token `;;'
Fixes:
- http://autobuild.buildroot.org/results/013e0d3f72582ce3675f65786c014518682d703b
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Upstream: https://github.com/linknx/pthsem/pull/1
---
acinclude.m4 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/acinclude.m4 b/acinclude.m4
index 03b42de..d74889f 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -1426,8 +1426,8 @@ ac_cv_stacksetup_$1='guessed:(skaddr),(sksize)'
])
dnl # restore original compile environment
CFLAGS="$OCFLAGS"
-])dnl
fi
+])dnl
dnl # extract result ingredients of single cached result value
type=`echo $ac_cv_stacksetup_$1 | sed -e 's;:.*$;;'`
addr=`echo $ac_cv_stacksetup_$1 | sed -e 's;^.*:;;' -e 's;,.*$;;'`
--
2.43.0

View File

@@ -0,0 +1,18 @@
config BR2_PACKAGE_LIBPTHSEM
bool "libpthsem"
depends on BR2_USE_MMU # fork()
help
GNU pth is a user mode multi threading library. pthsem is an
extend version, with support for semaphores added.
https://github.com/linknx/pthsem
if BR2_PACKAGE_LIBPTHSEM
config BR2_PACKAGE_LIBPTHSEM_COMPAT
bool "libpth compatibility"
help
This option enables the compatibility with the original
libpth library.
endif

View File

@@ -0,0 +1,3 @@
# Locally calculated
sha256 4024cafdd5d4bce2b1778a6be5491222c3f6e7ef1e43971264c451c0012c5c01 pthsem_2.0.8.tar.gz
sha256 f1b95d3728077d1a3efe7fc17928b1953b1224f6caf9c528e30e570158b7520d COPYING

View File

@@ -0,0 +1,37 @@
################################################################################
#
# libpthsem
#
################################################################################
LIBPTHSEM_VERSION = 2.0.8
LIBPTHSEM_SOURCE = pthsem_$(LIBPTHSEM_VERSION).tar.gz
LIBPTHSEM_SITE = https://sourceforge.net/projects/bcusdk/files/pthsem
LIBPTHSEM_LICENSE = LGPL-2.1+
LIBPTHSEM_LICENSE_FILES = COPYING
LIBPTHSEM_AUTORECONF = YES
LIBPTHSEM_INSTALL_STAGING = YES
LIBPTHSEM_CONFIG_SCRIPTS = pthsem-config
# Force the setjmp/longjmp detection, because the test being done in
# the AC_CHECK_SJLJ macro is not cross-compilation safe: it checks the
# running kernel with 'uname -r', and checks the C library version by
# looking at /usr/include/features.h. In terms of kernel version, it
# assumes any version later than 2.2.x is fine, except that it doesn't
# recognize 4.x as a valid kernel version, recognizing such systems as
# "braindead" and therefore falling back to the 'sjljlx' value for
# ac_cv_check_sjlj. In terms of C library version, it wants
# __GLIBC_MINOR to be at least 1. Since both conditions are true for
# all Buildroot systems, we can simply force the setjmp/longjmp
# detection to ssjlj.
LIBPTHSEM_CONF_ENV += \
ac_cv_check_sjlj=ssjlj
ifeq ($(BR2_PACKAGE_LIBPTHSEM_COMPAT),y)
LIBPTHSEM_CONF_OPTS += --enable-compat
LIBPTHSEM_CONFIG_SCRIPTS += pth-config
else
LIBPTHSEM_CONF_OPTS += --disable-compat
endif
$(eval $(autotools-package))