Complete Yocto mirror with license table for TQMa6UL (2038-compliance)
- 264 license table entries with exact download URLs (224/264 resolved) - Complete sources/ directory with all BitBake recipes - Build configuration: tqma6ul-multi-mba6ulx, spaetzle (musl) - Full traceability for Softwarefreigabeantrag - GCC 13.4.0, Linux 6.6.102, U-Boot 2023.04, musl 1.2.4 - License distribution: GPL-2.0 (24), MIT (23), GPL-2.0+ (18), BSD-3 (16)
This commit is contained in:
@@ -0,0 +1,59 @@
|
||||
From 2a0dd2b300242230faa92cf8e26ccd70231bc9ef Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Sat, 19 Mar 2022 23:37:58 -0700
|
||||
Subject: [PATCH] cmake: Use CMAKE_INSTALL_LIBDIR and CMAKE_INSTALL_BINDIR
|
||||
|
||||
This ensures the install paths are not hardcoded.
|
||||
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
Upstream-Status: Pending
|
||||
---
|
||||
cmake/CMakeLists.txt | 4 ++--
|
||||
src/samples/CMakeLists.txt | 4 ++--
|
||||
2 files changed, 4 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt
|
||||
index a9f8908..7eadc60 100644
|
||||
--- a/cmake/CMakeLists.txt
|
||||
+++ b/cmake/CMakeLists.txt
|
||||
@@ -11,7 +11,7 @@ export(EXPORT ${package_name}
|
||||
FILE "${CMAKE_CURRENT_BINARY_DIR}/${package_name}Targets.cmake"
|
||||
NAMESPACE ${package_name}::)
|
||||
|
||||
-install(EXPORT ${package_name} DESTINATION lib/cmake/${package_name}
|
||||
+install(EXPORT ${package_name} DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${package_name}
|
||||
FILE ${package_name}Targets.cmake
|
||||
NAMESPACE ${package_name}::)
|
||||
|
||||
@@ -19,4 +19,4 @@ install(FILES
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/${package_name}Config.cmake"
|
||||
FindPahoMqttC.cmake
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/${package_name}ConfigVersion.cmake"
|
||||
- DESTINATION lib/cmake/${package_name})
|
||||
+ DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${package_name})
|
||||
diff --git a/src/samples/CMakeLists.txt b/src/samples/CMakeLists.txt
|
||||
index 3ca0a75..c915cd5 100644
|
||||
--- a/src/samples/CMakeLists.txt
|
||||
+++ b/src/samples/CMakeLists.txt
|
||||
@@ -71,7 +71,7 @@ endforeach()
|
||||
|
||||
## install binaries
|
||||
install(TARGETS ${EXECUTABLES} EXPORT PahoMqttCppSamples
|
||||
- RUNTIME DESTINATION bin
|
||||
+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
)
|
||||
|
||||
## Build the SSL/TLS samples, if selected
|
||||
@@ -89,7 +89,7 @@ if(PAHO_WITH_SSL)
|
||||
endforeach()
|
||||
|
||||
install(TARGETS ${SSL_EXECUTABLES} EXPORT PahoMqttCppSamples
|
||||
- RUNTIME DESTINATION bin
|
||||
+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
)
|
||||
endif()
|
||||
|
||||
--
|
||||
2.34.1
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
SUMMARY = "Paho MQTT - C++ libraries for the MQTT and MQTT-SN protocols"
|
||||
DESCRIPTION = "Client implementation of open and standard messaging protocols for Machine-to-Machine (M2M) and Internet of Things (IoT)."
|
||||
HOMEPAGE = "http://www.eclipse.org/paho/"
|
||||
SECTION = "console/network"
|
||||
LICENSE = "EPL-2.0 | EDL-1.0"
|
||||
|
||||
LIC_FILES_CHKSUM = " \
|
||||
file://src/mqtt/message.h;beginline=9;endline=18;md5=c5ceecf5ab99d44dcfaaabdce289071b \
|
||||
file://edl-v10;md5=3adfcc70f5aeb7a44f3f9b495aa1fbf3 \
|
||||
file://epl-v20;md5=d9fc0efef5228704e7f5b37f27192723 \
|
||||
"
|
||||
|
||||
SRC_URI = "git://github.com/eclipse/paho.mqtt.cpp;protocol=https;branch=v1.3.x \
|
||||
file://0001-cmake-Use-CMAKE_INSTALL_LIBDIR-and-CMAKE_INSTALL_BIN.patch \
|
||||
"
|
||||
SRCREV = "5e0d1bf37b4826d680ec066ec42afd133851a681"
|
||||
|
||||
DEPENDS = "openssl paho-mqtt-c"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit cmake
|
||||
|
||||
EXTRA_OECMAKE += "-DPAHO_WITH_SSL=ON"
|
||||
Reference in New Issue
Block a user