Move all to deprecated folder.
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
From e04f5c20fc1536f8e6d4faf32f2f4657d441f7c8 Mon Sep 17 00:00:00 2001
|
||||
From: Samuel Martin <s.martin49@gmail.com>
|
||||
Date: Mon, 14 Apr 2014 17:54:37 +0200
|
||||
Subject: [PATCH] version_generator.py: make it python3 compliant
|
||||
|
||||
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
|
||||
---
|
||||
openpgm/pgm/version_generator.py | 6 ++++--
|
||||
1 file changed, 4 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/openpgm/pgm/version_generator.py b/openpgm/pgm/version_generator.py
|
||||
index 2265480..c31376f 100755
|
||||
--- a/openpgm/pgm/version_generator.py
|
||||
+++ b/openpgm/pgm/version_generator.py
|
||||
@@ -1,5 +1,7 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
+from __future__ import print_function
|
||||
+
|
||||
import os
|
||||
import platform
|
||||
import time
|
||||
@@ -8,7 +10,7 @@ build_date = time.strftime ("%Y-%m-%d")
|
||||
build_time = time.strftime ("%H:%M:%S")
|
||||
build_rev = filter (str.isdigit, "$Revision: 1369 $")
|
||||
|
||||
-print """
|
||||
+print("""
|
||||
/* vim:ts=8:sts=8:sw=4:noai:noexpandtab
|
||||
*
|
||||
* OpenPGM version.
|
||||
@@ -47,6 +49,6 @@ const char* pgm_build_revision = "%s";
|
||||
|
||||
|
||||
/* eof */
|
||||
-"""%(build_date, build_time, platform.system(), platform.machine(), build_rev)
|
||||
+"""%(build_date, build_time, platform.system(), platform.machine(), build_rev))
|
||||
|
||||
# end of file
|
||||
--
|
||||
1.9.2
|
||||
|
||||
@@ -0,0 +1,38 @@
|
||||
configure.ac: cross-compilation fix
|
||||
|
||||
This patch enables to configure the package when cross-compiling in a way
|
||||
recommended by Autoconf manual (see manual for version 2.69, Section 6.6
|
||||
Checking Runtime Behavior).
|
||||
|
||||
Signed-off-by: Alexander Lukichev <alexander.lukichev@gmail.com>
|
||||
|
||||
--- a/openpgm/pgm/configure.ac 2011-09-27 20:59:08.000000000 +0300
|
||||
+++ b/openpgm/pgm/configure.ac 2013-02-12 10:33:53.000000000 +0200
|
||||
@@ -272,14 +272,19 @@ uint32_t add32_with_carry (uint32_t a, u
|
||||
;;
|
||||
esac
|
||||
# ticket spinlock friendly: unaligned pointers & atomic ops (excl. Sun Pro)
|
||||
-AC_MSG_CHECKING([for unaligned pointers])
|
||||
-AC_RUN_IFELSE(
|
||||
- [AC_LANG_PROGRAM([[char* nezumi = "mouse";]],
|
||||
- [[short x = *(short*)(nezumi + 2)]])],
|
||||
- [AC_MSG_RESULT([yes])
|
||||
- pgm_unaligned_pointers=yes],
|
||||
- [AC_MSG_RESULT([no])
|
||||
- pgm_unaligned_pointers=no])
|
||||
+AC_CACHE_CHECK([if unaligned access fails], [ac_cv_lbl_unaligned_fail],
|
||||
+ [AC_RUN_IFELSE(
|
||||
+ [AC_LANG_PROGRAM([[char* nezumi = "mouse";]],
|
||||
+ [[short x = *(short*)(nezumi + 2)]])],
|
||||
+ [ac_cv_lbl_unaligned_fail=no],
|
||||
+ [ac_cv_lbl_unaligned_fail=yes],
|
||||
+ [ac_cv_lbl_unaligned_fail=yes])
|
||||
+ ])
|
||||
+if test "$ac_cv_lbl_unaligned_fail" = yes; then
|
||||
+ pgm_unaligned_pointers=no
|
||||
+else
|
||||
+ pgm_unaligned_pointers=yes
|
||||
+fi
|
||||
AC_MSG_CHECKING([for intrinsic atomic ops])
|
||||
# AC_PREPROC_IFELSE not always portable
|
||||
AC_COMPILE_IFELSE(
|
||||
18
deprecated/firmware/buildroot/package/openpgm/Config.in
Normal file
18
deprecated/firmware/buildroot/package/openpgm/Config.in
Normal file
@@ -0,0 +1,18 @@
|
||||
config BR2_PACKAGE_OPENPGM
|
||||
bool "openpgm"
|
||||
# This toolchain lack required compiler intrinsics
|
||||
depends on !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX
|
||||
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_THREADS && BR2_USE_WCHAR)
|
||||
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 ecd48fd0bcfd8351ce6dcf31b063dd8fe83d3dab41bca62a6ebd6880a88c4a69 openpgm-release-5-2-122.tar.gz
|
||||
28
deprecated/firmware/buildroot/package/openpgm/openpgm.mk
Normal file
28
deprecated/firmware/buildroot/package/openpgm/openpgm.mk
Normal file
@@ -0,0 +1,28 @@
|
||||
################################################################################
|
||||
#
|
||||
# openpgm
|
||||
#
|
||||
################################################################################
|
||||
|
||||
OPENPGM_VERSION = release-5-2-122
|
||||
OPENPGM_SITE = $(call github,steve-o,openpgm,$(OPENPGM_VERSION))
|
||||
OPENPGM_LICENSE = LGPLv2.1+
|
||||
OPENPGM_LICENSE_FILES = openpgm/pgm/LICENSE
|
||||
OPENPGM_INSTALL_STAGING = YES
|
||||
OPENPGM_SUBDIR = openpgm/pgm
|
||||
OPENPGM_AUTORECONF = YES
|
||||
|
||||
# We need to create the m4 directory to make sure that autoreconf will
|
||||
# start calling libtoolize. Otherwise it will start with aclocal and it
|
||||
# will fail because the m4 directory doesn't exist.
|
||||
define OPENPGM_CREATE_M4_DIR
|
||||
mkdir -p $(@D)/$(OPENPGM_SUBDIR)/m4
|
||||
endef
|
||||
OPENPGM_POST_PATCH_HOOKS += OPENPGM_CREATE_M4_DIR
|
||||
|
||||
OPENPGM_CONF_ENV = \
|
||||
ac_cv_file__proc_cpuinfo=yes \
|
||||
ac_cv_file__dev_rtc=no \
|
||||
ac_cv_file__dev_hpet=no
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user