package/openpowerlink: bump to v2.6.2
PATCH 1/1 package/openpowerlink: bump to v2.6.2
This is the latest release of the v2.6.x release series.
---
Note:
Currently the openpowerlink kernel driver doesn't build with
a kernel >= 4.12 due API changes in the kernel.
But it's not really a problem since it's highly recommended to use a preempt-rt kernel with openpowerlink.
The latest preempt-rt kernel version is curently 4.9.65.
--- .../0004-use-contrib-getopt-only-on-Windows.patch | 102 ------------- ...config-to-fix-static-linking-with-libpcap.patch | 166 --------------------- package/openpowerlink/openpowerlink.hash | 8 +- package/openpowerlink/openpowerlink.mk | 2 +- 4 files changed, 5 insertions(+), 273 deletions(-) delete mode 100644 package/openpowerlink/0004-use-contrib-getopt-only-on-Windows.patch delete mode 100644 package/openpowerlink/0005-use-pcap-config-to-fix-static-linking-with-libpcap.patch
package/openpowerlink/0004-use-contrib-getopt-only-on-Windows.patch deleted +0 -102
@@ -1,102 +0,0 @@ -From e7e421526b17c179d5ac33a982b180ff5f7ef7a7 Mon Sep 17 00:00:00 2001 -From: Romain Naour <[email protected]> -Date: Sat, 27 May 2017 23:51:41 +0200 -Subject: [PATCH] use contrib getopt() only on Windows - -Otherwise, contrib getopt will clash with the one from the libc when -building statically. - -lib64/libc.a(getopt.os):(.data+0x8): multiple definition of `optind' -CMakeFiles/demo_mn_console.dir/__/__/contrib/getopt/getopt.c.o:(.data+0x8): first defined here -lib64/libc.a(getopt.os):(.data+0x4): multiple definition of `opterr' -CMakeFiles/demo_mn_console.dir/__/__/contrib/getopt/getopt.c.o:(.data+0xc): first defined here -/lib64/libc.a(getopt.os): In function `__GI_getopt': -getopt.c:(.text+0x76e): multiple definition of `getopt' - -Signed-off-by: Romain Naour <[email protected]> ---- - apps/demo_cn_console/CMakeLists.txt | 2 +- - apps/demo_cn_console/src/main.c | 6 ++++++ - apps/demo_mn_console/CMakeLists.txt | 2 +- - apps/demo_mn_console/src/main.c | 6 ++++++ - 4 files changed, 14 insertions(+), 2 deletions(-) - -diff --git a/apps/demo_cn_console/CMakeLists.txt b/apps/demo_cn_console/CMakeLists.txt -index 3bb8f25..800797a 100644 ---- a/apps/demo_cn_console/CMakeLists.txt -+++ b/apps/demo_cn_console/CMakeLists.txt -@@ -61,7 +61,6 @@ SET(DEMO_SOURCES - ${COMMON_SOURCE_DIR}/eventlog/eventlog.c - ${COMMON_SOURCE_DIR}/eventlog/eventlogstring.c - ${CONTRIB_SOURCE_DIR}/console/printlog.c -- ${CONTRIB_SOURCE_DIR}/getopt/getopt.c - ) - - INCLUDE_DIRECTORIES( -@@ -114,6 +113,7 @@ ENDIF (CFG_KERNEL_STACK_DIRECTLINK) - IF(CMAKE_SYSTEM_NAME STREQUAL "Linux") - include(linux.cmake) - ELSEIF(CMAKE_SYSTEM_NAME STREQUAL "Windows") -+ SET(DEMO_SOURCES ${DEMO_SOURCES} ${CONTRIB_SOURCE_DIR}/getopt/getopt.c) - include (windows.cmake) - ELSE() - MESSAGE(FATAL_ERROR "System ${CMAKE_SYSTEM_NAME} is not supported!") -diff --git a/apps/demo_cn_console/src/main.c b/apps/demo_cn_console/src/main.c -index d64536c..f790570 100644 ---- a/apps/demo_cn_console/src/main.c -+++ b/apps/demo_cn_console/src/main.c -@@ -50,7 +50,13 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - #include <system/system.h> - #include <obdcreate/obdcreate.h> -+ -+#if (TARGET_SYSTEM == _WIN32_) - #include <getopt/getopt.h> -+#else -+#include <unistd.h> -+#endif -+ - #include <console/console.h> - #include <eventlog/eventlog.h> - -diff --git a/apps/demo_mn_console/CMakeLists.txt b/apps/demo_mn_console/CMakeLists.txt -index 6f9c5a1..2e74529 100644 ---- a/apps/demo_mn_console/CMakeLists.txt -+++ b/apps/demo_mn_console/CMakeLists.txt -@@ -68,7 +68,6 @@ SET(DEMO_SOURCES - ${COMMON_SOURCE_DIR}/eventlog/eventlog.c - ${COMMON_SOURCE_DIR}/eventlog/eventlogstring.c - ${CONTRIB_SOURCE_DIR}/console/printlog.c -- ${CONTRIB_SOURCE_DIR}/getopt/getopt.c - ${FIRMWARE_MANAGER_SOURCES} - ) - -@@ -131,6 +130,7 @@ ENDIF() - IF(CMAKE_SYSTEM_NAME STREQUAL "Linux") - include(linux.cmake) - ELSEIF(CMAKE_SYSTEM_NAME STREQUAL "Windows") -+ SET(DEMO_SOURCES ${DEMO_SOURCES} ${CONTRIB_SOURCE_DIR}/getopt/getopt.c) - include (windows.cmake) - ELSE() - MESSAGE(FATAL_ERROR "System ${CMAKE_SYSTEM_NAME} is not supported!") -diff --git a/apps/demo_mn_console/src/main.c b/apps/demo_mn_console/src/main.c -index cba747d..b766ed1 100644 ---- a/apps/demo_mn_console/src/main.c -+++ b/apps/demo_mn_console/src/main.c -@@ -50,7 +50,13 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - #include <system/system.h> - #include <obdcreate/obdcreate.h> -+ -+#if (TARGET_SYSTEM == _WIN32_) - #include <getopt/getopt.h> -+#else -+#include <unistd.h> -+#endif -+ - #include <console/console.h> - #include <eventlog/eventlog.h> - #include <firmwaremanager/firmwaremanager.h> --- -2.9.4 -
package/openpowerlink/0005-use-pcap-config-to-fix-static-linking-with-libpcap.patch deleted +0 -166
166 lines not on this page · raw message
package/openpowerlink/openpowerlink.hash +4 -4
@@ -1,5 +1,5 @@ -# From http://sourceforge.net/projects/openpowerlink/files/openPOWERLINK/V2.6.1/ -md5 9f53ccc72356cf421ecd089f91421393 openPOWERLINK_V2.6.1.tar.gz -sha1 dfb97845937e8d1de3e554c17b951a115352faa6 openPOWERLINK_V2.6.1.tar.gz +# From http://sourceforge.net/projects/openpowerlink/files/openPOWERLINK/V2.6.2/ +md5 bbb268e33e55424de563cb677703d8f7 openPOWERLINK_V2.6.2.tar.gz +sha1 bf6a8b202c1192b531ce6d6c4c6254e5689c65fe openPOWERLINK_V2.6.2.tar.gz # sha256 locally computed -sha256 89a8b321938f965aa03610f40c38d2f17242aab1b0b5f24b93c4542f2f3fbd5c openPOWERLINK_V2.6.1.tar.gz +sha256 38d7a93c05cc0167be5c498e625d1efddeac2616ceb1bc8c3c6679552ae6da15 openPOWERLINK_V2.6.2.tar.gz
package/openpowerlink/openpowerlink.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -OPENPOWERLINK_VERSION = V2.6.1 +OPENPOWERLINK_VERSION = V2.6.2 OPENPOWERLINK_SITE = http://downloads.sourceforge.net/project/openpowerlink/openPOWERLINK/$(OPENPOWERLINK_VERSION) OPENPOWERLINK_SOURCE = openPOWERLINK_$(OPENPOWERLINK_VERSION).tar.gz OPENPOWERLINK_LICENSE = BSD-2-Clause, GPL-2.0
Signature · 1 line
2.9.5
Thomas Petazzoni
AppliedPATCH 1/1 package/openpowerlink: bump to v2.6.2
Hello,
Quoted 11 lines · Romain Naour
This is the latest release of the v2.6.x release series.
Signed-off-by Romain Naour <[email protected]>Cc Corentin GUILLEVIC <[email protected]>---
Note:
Currently the openpowerlink kernel driver doesn't build with
a kernel >= 4.12 due API changes in the kernel.
But it's not really a problem since it's highly recommended to use a preempt-rt kernel with openpowerlink.
The latest preempt-rt kernel version is curently 4.9.65.
Quoted 8 lines
--- .../0004-use-contrib-getopt-only-on-Windows.patch | 102 ------------- ...config-to-fix-static-linking-with-libpcap.patch | 166 --------------------- package/openpowerlink/openpowerlink.hash | 8 +- package/openpowerlink/openpowerlink.mk | 2 +- 4 files changed, 5 insertions(+), 273 deletions(-) delete mode 100644 package/openpowerlink/0004-use-contrib-getopt-only-on-Windows.patch delete mode 100644 package/openpowerlink/0005-use-pcap-config-to-fix-static-linking-with-libpcap.patch
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com