diff options
author | Khem Raj <raj.khem@gmail.com> | 2019-12-19 16:02:04 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2019-12-20 16:07:50 -0800 |
commit | 61d823300e3e4662df1d3b0dffbfc34f3d558a60 (patch) | |
tree | 087989c79341d2349a8ce27c1a19d9c382c9608c | |
parent | b27741f2a4d611c1b0c2eca88a8d19b7b779c5a1 (diff) | |
download | meta-openembedded-61d823300e3e4662df1d3b0dffbfc34f3d558a60.tar.gz |
cannelloni: Update to latest and fix multilib builds
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2 files changed, 47 insertions, 2 deletions
diff --git a/meta-networking/recipes-connectivity/cannelloni/cannelloni/0001-Use-GNUInstallDirs-instead-of-hard-coding-paths.patch b/meta-networking/recipes-connectivity/cannelloni/cannelloni/0001-Use-GNUInstallDirs-instead-of-hard-coding-paths.patch new file mode 100644 index 0000000000..b78f0b3291 --- /dev/null +++ b/meta-networking/recipes-connectivity/cannelloni/cannelloni/0001-Use-GNUInstallDirs-instead-of-hard-coding-paths.patch | |||
@@ -0,0 +1,43 @@ | |||
1 | From c74f04dbab4d586287347b1d5517f36e2f0c3d8e Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Thu, 19 Dec 2019 15:52:34 -0800 | ||
4 | Subject: [PATCH] Use GNUInstallDirs instead of hard-coding paths | ||
5 | |||
6 | Bump minimum cmake version to be >= 3.1 | ||
7 | |||
8 | Upstream-Status: Submitted [https://github.com/mguentner/cannelloni/pull/22] | ||
9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
10 | --- | ||
11 | CMakeLists.txt | 8 +++++--- | ||
12 | 1 file changed, 5 insertions(+), 3 deletions(-) | ||
13 | |||
14 | diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
15 | index 51b354f..958e0eb 100644 | ||
16 | --- a/CMakeLists.txt | ||
17 | +++ b/CMakeLists.txt | ||
18 | @@ -1,4 +1,4 @@ | ||
19 | -cmake_minimum_required(VERSION 2.6) | ||
20 | +cmake_minimum_required(VERSION 3.1) | ||
21 | project(cannelloni) | ||
22 | |||
23 | list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules") | ||
24 | @@ -60,6 +60,8 @@ set_target_properties ( cannelloni-common | ||
25 | SOVERSION 0 | ||
26 | ) | ||
27 | |||
28 | +include(GNUInstallDirs) | ||
29 | + | ||
30 | if(SCTP_SUPPORT) | ||
31 | add_library(sctpthread STATIC sctpthread.cpp) | ||
32 | target_link_libraries(sctpthread addsources sctp) | ||
33 | @@ -68,5 +70,5 @@ endif(SCTP_SUPPORT) | ||
34 | set_target_properties(addsources PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}) | ||
35 | target_link_libraries(cannelloni addsources cannelloni-common pthread) | ||
36 | |||
37 | -install(TARGETS cannelloni DESTINATION bin) | ||
38 | -install(TARGETS cannelloni-common DESTINATION lib) | ||
39 | +install(TARGETS cannelloni DESTINATION ${CMAKE_INSTALL_BINDIR}) | ||
40 | +install(TARGETS cannelloni-common DESTINATION ${CMAKE_INSTALL_LIBDIR}) | ||
41 | -- | ||
42 | 2.24.1 | ||
43 | |||
diff --git a/meta-networking/recipes-connectivity/cannelloni/cannelloni_git.bb b/meta-networking/recipes-connectivity/cannelloni/cannelloni_git.bb index df75e6342e..cd893afb37 100644 --- a/meta-networking/recipes-connectivity/cannelloni/cannelloni_git.bb +++ b/meta-networking/recipes-connectivity/cannelloni/cannelloni_git.bb | |||
@@ -2,8 +2,10 @@ SUMMARY = "a SocketCAN over Ethernet tunnel" | |||
2 | HOMEPAGE = "https://github.com/mguentner/cannelloni" | 2 | HOMEPAGE = "https://github.com/mguentner/cannelloni" |
3 | LICENSE = "GPLv2" | 3 | LICENSE = "GPLv2" |
4 | 4 | ||
5 | SRC_URI = "git://github.com/mguentner/cannelloni.git;protocol=https" | 5 | SRC_URI = "git://github.com/mguentner/cannelloni.git;protocol=https \ |
6 | SRCREV = "44080bb021d1a143e6906f2ec4610513c4e1cece" | 6 | file://0001-Use-GNUInstallDirs-instead-of-hard-coding-paths.patch \ |
7 | " | ||
8 | SRCREV = "82aa49b417b96fe46bb3f017ae1bfea928f20f9a" | ||
7 | 9 | ||
8 | PV = "20160414+${SRCPV}" | 10 | PV = "20160414+${SRCPV}" |
9 | 11 | ||