initial buildroot for linux 5.15

This commit is contained in:
Huan.Feng
2021-12-06 14:12:13 +08:00
parent d7767d594e
commit 7b6fc358fa
12736 changed files with 508822 additions and 0 deletions
@@ -0,0 +1,57 @@
From 240634b1afb968a051f8c68696eae2a582a02450 Mon Sep 17 00:00:00 2001
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Date: Mon, 31 Aug 2020 20:16:25 +0200
Subject: [PATCH] Rename openpgm-5.2.pc.in
This will fix the following build failure:
config.status: error: cannot find input file: `openpgm-5.3.pc.in'
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[Upstream status: https://github.com/steve-o/openpgm/pull/66]
---
openpgm/pgm/openpgm-5.2.pc.in | 12 ------------
openpgm/pgm/openpgm-5.3.pc.in | 12 ++++++++++++
2 files changed, 12 insertions(+), 12 deletions(-)
delete mode 100644 openpgm/pgm/openpgm-5.2.pc.in
create mode 100644 openpgm/pgm/openpgm-5.3.pc.in
diff --git a/openpgm/pgm/openpgm-5.2.pc.in b/openpgm/pgm/openpgm-5.2.pc.in
deleted file mode 100644
index 9e30a6d..0000000
--- a/openpgm/pgm/openpgm-5.2.pc.in
+++ /dev/null
@@ -1,12 +0,0 @@
-prefix=@prefix@
-exec_prefix=@exec_prefix@
-libdir=@libdir@
-includedir=@includedir@
-
-Name: OpenPGM
-Description: PGM Protocol Library.
-Version: @PACKAGE_VERSION@
-# packagers may wish to move @LIBS@ to Libs.private for platforms with
-# versions of pkg-config that support static linking.
-Libs: -L${libdir} -lpgm @LIBS@
-Cflags: -I${includedir}/pgm-@VERSION_MAJOR@.@VERSION_MINOR@
diff --git a/openpgm/pgm/openpgm-5.3.pc.in b/openpgm/pgm/openpgm-5.3.pc.in
new file mode 100644
index 0000000..9e30a6d
--- /dev/null
+++ b/openpgm/pgm/openpgm-5.3.pc.in
@@ -0,0 +1,12 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: OpenPGM
+Description: PGM Protocol Library.
+Version: @PACKAGE_VERSION@
+# packagers may wish to move @LIBS@ to Libs.private for platforms with
+# versions of pkg-config that support static linking.
+Libs: -L${libdir} -lpgm @LIBS@
+Cflags: -I${includedir}/pgm-@VERSION_MAJOR@.@VERSION_MINOR@
--
2.28.0
@@ -0,0 +1,41 @@
From b7fa865fa6b06d97d424c500fd1c4bc44c096359 Mon Sep 17 00:00:00 2001
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Date: Sun, 1 Nov 2020 22:46:18 +0100
Subject: [PATCH] openpgm/pgm/checksum.c: fix build with 32 bits MMX
Build with i386-pentium-mmx or i686 is broken since version 5-3-128 and
https://github.com/steve-o/openpgm/commit/b276dc15be5d4e6e1143b9de25d09f63f9c85135
because _mm_cvtm64_si64 is undefined resulting in the following build
failure for example on zeromq:
/srv/storage/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/i586-buildroot-linux-musl/8.3.0/../../../../i586-buildroot-linux-musl/bin/ld: /srv/storage/autobuild/run/instance-3/output-1/host/i586-buildroot-linux-musl/sysroot/usr/lib32/libpgm-5.3.so.0: undefined reference to `_mm_cvtm64_si64'
So use the fallback if __x86_64__ is not defined
Fixes:
- http://autobuild.buildroot.org/results/01d9be37e8a743307128f53f41785654c9971e1a
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
Upstream status: commit b7fa865fa6b06d97d424c500fd1c4bc44c096359
openpgm/pgm/checksum.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/openpgm/pgm/checksum.c b/openpgm/pgm/checksum.c
index fef89bce237c..8d8dd3f32305 100644
--- a/openpgm/pgm/checksum.c
+++ b/openpgm/pgm/checksum.c
@@ -948,7 +948,7 @@ do_csumcpy_mmx (
sum = _mm_add_pi32 (sum, lo);
sum = _mm_add_pi32 (sum, hi);
-#if 1
+#if defined(__x86_64__)
*(int64_t*)dst = _mm_cvtm64_si64 (tmp);
#else
((int*)dst)[1] = _mm_cvtsi64_si32 (tmp);
--
2.30.2
+20
View File
@@ -0,0 +1,20 @@
config BR2_PACKAGE_OPENPGM
bool "openpgm"
depends on BR2_TOOLCHAIN_HAS_SYNC_2
depends on BR2_TOOLCHAIN_HAS_SYNC_4
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_USE_WCHAR
help
OpenPGM is an open source implementation of the Pragmatic
General Multicast (PGM) specification in RFC 3208 available at
www.ietf.org. PGM is a reliable and scalable multicast
protocol that enables receivers to detect loss, request
retransmission of lost data, or notify an application of
unrecoverable loss.
https://github.com/steve-o/openpgm/
comment "openpgm needs a toolchain w/ wchar, threads"
depends on BR2_TOOLCHAIN_HAS_SYNC_2
depends on BR2_TOOLCHAIN_HAS_SYNC_4
depends on !(BR2_TOOLCHAIN_HAS_THREADS && BR2_USE_WCHAR)
+3
View File
@@ -0,0 +1,3 @@
# Locally calculated
sha256 8d707ef8dda45f4a7bc91016d7f2fed6a418637185d76c7ab30b306499c6d393 openpgm-5-3-128.tar.gz
sha256 4a7d4ec71fa60969399fd4caad64d5a3003fee2775445f271a5a36a8ae743a29 openpgm/pgm/LICENSE
+20
View File
@@ -0,0 +1,20 @@
################################################################################
#
# openpgm
#
################################################################################
OPENPGM_VERSION = 5-3-128
OPENPGM_SITE = $(call github,steve-o,openpgm,release-$(OPENPGM_VERSION))
OPENPGM_LICENSE = LGPL-2.1+
OPENPGM_LICENSE_FILES = openpgm/pgm/LICENSE
OPENPGM_INSTALL_STAGING = YES
OPENPGM_SUBDIR = openpgm/pgm
OPENPGM_AUTORECONF = YES
OPENPGM_CONF_ENV = \
ac_cv_file__proc_cpuinfo=yes \
ac_cv_file__dev_rtc=no \
ac_cv_file__dev_hpet=no
$(eval $(autotools-package))