diff options
Diffstat (limited to 'dynamic-layers/openembedded-layer/recipes-bsp')
6 files changed, 162 insertions, 65 deletions
diff --git a/dynamic-layers/openembedded-layer/recipes-bsp/amt/files/0001-LMS-fix-build-issue-with-gcc-15.patch b/dynamic-layers/openembedded-layer/recipes-bsp/amt/files/0001-LMS-fix-build-issue-with-gcc-15.patch new file mode 100644 index 00000000..751c7973 --- /dev/null +++ b/dynamic-layers/openembedded-layer/recipes-bsp/amt/files/0001-LMS-fix-build-issue-with-gcc-15.patch | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | From 439af27f7641185933d7810b6c4eb17086438df3 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Yogesh Tyagi <yogesh.tyagi@intel.com> | ||
| 3 | Date: Mon, 19 May 2025 17:50:40 +0530 | ||
| 4 | Subject: [PATCH] LMS : fix build issue with gcc 15 | ||
| 5 | |||
| 6 | include cstdint header to resolve the below error with gcc 15 | ||
| 7 | |||
| 8 | | In file included from /lms/2406.0.0.0/git/MEIClient/src/MEICommand.cpp:11: | ||
| 9 | | /lms/2406.0.0.0/git/MEIClient/Include/MEICommand.h:40:54: error: 'uint8_t' was not declared in this scope | ||
| 10 | |||
| 11 | Upstream-Status: Submitted [https://github.com/intel/lms/pull/23] | ||
| 12 | |||
| 13 | Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com> | ||
| 14 | --- | ||
| 15 | MEIClient/Include/MEICommand.h | 1 + | ||
| 16 | 1 file changed, 1 insertion(+) | ||
| 17 | |||
| 18 | diff --git a/MEIClient/Include/MEICommand.h b/MEIClient/Include/MEICommand.h | ||
| 19 | index 6192d26..5332e44 100644 | ||
| 20 | --- a/MEIClient/Include/MEICommand.h | ||
| 21 | +++ b/MEIClient/Include/MEICommand.h | ||
| 22 | @@ -12,6 +12,7 @@ | ||
| 23 | #define __MEI_COMMAND_H__ | ||
| 24 | #include "heci.h" | ||
| 25 | #include "MEIClientException.h" | ||
| 26 | +#include <cstdint> | ||
| 27 | #include <memory> | ||
| 28 | #include <vector> | ||
| 29 | |||
| 30 | -- | ||
| 31 | 2.43.0 | ||
| 32 | |||
diff --git a/dynamic-layers/openembedded-layer/recipes-bsp/amt/files/0001-cmake-Bump-required-CMake-version-to-3.5-to-allow-bu.patch b/dynamic-layers/openembedded-layer/recipes-bsp/amt/files/0001-cmake-Bump-required-CMake-version-to-3.5-to-allow-bu.patch new file mode 100644 index 00000000..34622d42 --- /dev/null +++ b/dynamic-layers/openembedded-layer/recipes-bsp/amt/files/0001-cmake-Bump-required-CMake-version-to-3.5-to-allow-bu.patch | |||
| @@ -0,0 +1,39 @@ | |||
| 1 | From e1f6129390706044112496b6f10baee5b604b4c8 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Yogesh Tyagi <yogesh.tyagi@intel.com> | ||
| 3 | Date: Wed, 23 Jul 2025 23:48:41 +0800 | ||
| 4 | Subject: [PATCH] cmake: Bump required CMake version to 3.5 to allow builds | ||
| 5 | with CMake 4+ | ||
| 6 | |||
| 7 | This enables builds with CMake 4+, fixing: | ||
| 8 | |||
| 9 | CMake Error at CMakeLists.txt:1 (cmake_minimum_required): | ||
| 10 | Compatibility with CMake < 3.5 has been removed from CMake. | ||
| 11 | |||
| 12 | Update the VERSION argument <min> value. Or, use the <min>...<max> syntax | ||
| 13 | to tell CMake that the project requires at least <min> but has been | ||
| 14 | updated to work with policies introduced by <max> or earlier. | ||
| 15 | |||
| 16 | Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway. | ||
| 17 | |||
| 18 | Upstream-Status: Inappropriate | ||
| 19 | |||
| 20 | Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com> | ||
| 21 | --- | ||
| 22 | CIM_Framework/openwsman/CMakeLists.txt | 2 +- | ||
| 23 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 24 | |||
| 25 | diff --git a/CIM_Framework/openwsman/CMakeLists.txt b/CIM_Framework/openwsman/CMakeLists.txt | ||
| 26 | index 6e54c66..e2ffa5f 100644 | ||
| 27 | --- a/CIM_Framework/openwsman/CMakeLists.txt | ||
| 28 | +++ b/CIM_Framework/openwsman/CMakeLists.txt | ||
| 29 | @@ -6,7 +6,7 @@ PROJECT(openwsman) | ||
| 30 | |||
| 31 | # 2.6 minimum because of CMP0005 (escaping defines) | ||
| 32 | # 2.8.12 minimum because CMake 3.19.7 says so | ||
| 33 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 34 | +cmake_minimum_required(VERSION 3.5) | ||
| 35 | |||
| 36 | include(CTest) | ||
| 37 | enable_testing() | ||
| 38 | -- | ||
| 39 | 2.37.3 | ||
diff --git a/dynamic-layers/openembedded-layer/recipes-bsp/amt/files/lms_drop_rpath_1932.0.0.0.diff b/dynamic-layers/openembedded-layer/recipes-bsp/amt/files/lms_drop_rpath_1932.0.0.0.diff deleted file mode 100644 index dae02e50..00000000 --- a/dynamic-layers/openembedded-layer/recipes-bsp/amt/files/lms_drop_rpath_1932.0.0.0.diff +++ /dev/null | |||
| @@ -1,30 +0,0 @@ | |||
| 1 | From ec7d732a6a23e90be34840b0f1a57e5199d393cf Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Alexander Usyskin <alexander.usyskin@intel.com> | ||
| 3 | Date: Mon, 17 Jun 2019 13:27:33 +0300 | ||
| 4 | Subject: [PATCH] lms: drop rpath definitions | ||
| 5 | |||
| 6 | Yocto fail to compile with this definitions. | ||
| 7 | |||
| 8 | Upstream-Status: Inappropriate [configuration] | ||
| 9 | Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com> | ||
| 10 | --- | ||
| 11 | CMakeLists.txt | 3 --- | ||
| 12 | 1 file changed, 3 deletions(-) | ||
| 13 | |||
| 14 | diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
| 15 | index a303c4b..9bda082 100644 | ||
| 16 | --- a/CMakeLists.txt | ||
| 17 | +++ b/CMakeLists.txt | ||
| 18 | @@ -109,9 +109,6 @@ install (DIRECTORY Docs/Licenses | ||
| 19 | FILES_MATCHING PATTERN "LICENSE.*" | ||
| 20 | ) | ||
| 21 | |||
| 22 | -list (APPEND CMAKE_INSTALL_RPATH "${PROJECT_BINARY_DIR}/UNS/GMS_COMMON") | ||
| 23 | -list (APPEND CMAKE_INSTALL_RPATH "${PROJECT_BINARY_DIR}/WsmanClient") | ||
| 24 | - | ||
| 25 | if (BUILD_TESTS) | ||
| 26 | include (gtest.cmake) | ||
| 27 | endif (BUILD_TESTS) | ||
| 28 | -- | ||
| 29 | 2.7.4 | ||
| 30 | |||
diff --git a/dynamic-layers/openembedded-layer/recipes-bsp/amt/lms_1932.0.0.0.bb b/dynamic-layers/openembedded-layer/recipes-bsp/amt/lms_1932.0.0.0.bb deleted file mode 100644 index 76baa9f3..00000000 --- a/dynamic-layers/openembedded-layer/recipes-bsp/amt/lms_1932.0.0.0.bb +++ /dev/null | |||
| @@ -1,35 +0,0 @@ | |||
| 1 | SUMMARY = "Intel(R) Local Managability Service" | ||
| 2 | DESCRIPTION = "Intel Local Manageability Service allows applications \ | ||
| 3 | to access the Intel Active Management Technology (AMT) firmware via \ | ||
| 4 | the Intel Management Engine Interface (MEI)." | ||
| 5 | |||
| 6 | LICENSE = "Apache-2.0" | ||
| 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=2ee41112a44fe7014dce33e26468ba93" | ||
| 8 | |||
| 9 | COMPATIBLE_HOST = '(i.86|x86_64).*-linux' | ||
| 10 | |||
| 11 | inherit cmake systemd | ||
| 12 | |||
| 13 | DEPENDS = "metee ace xerces-c libnl libxml2 glib-2.0 glib-2.0-native connman" | ||
| 14 | |||
| 15 | EXTRA_OECMAKE += "-DPYTHON_EXECUTABLE=${HOSTTOOLS_DIR}/python3" | ||
| 16 | |||
| 17 | REQUIRED_DISTRO_FEATURES= "systemd" | ||
| 18 | |||
| 19 | FILES_${PN} += "${datadir}/dbus-1/system-services/*.service" | ||
| 20 | |||
| 21 | S = "${WORKDIR}/git" | ||
| 22 | |||
| 23 | SYSTEMD_SERVICE_${PN} = "lms.service" | ||
| 24 | |||
| 25 | SRC_URI = "git://github.com/intel/lms.git" | ||
| 26 | SRCREV = "f90fa51f07514b7644cc57846c90e46b146b23ae" | ||
| 27 | |||
| 28 | SRC_URI_append = " file://lms_drop_rpath_${PV}.diff" | ||
| 29 | |||
| 30 | do_install_append() { | ||
| 31 | install -d ${D}${systemd_system_unitdir} | ||
| 32 | install -m 0644 ${B}/UNS/lms.service ${D}${systemd_system_unitdir} | ||
| 33 | } | ||
| 34 | |||
| 35 | RDEPENDS_${PN} += "ace" | ||
diff --git a/dynamic-layers/openembedded-layer/recipes-bsp/amt/lms_2406.0.0.0.bb b/dynamic-layers/openembedded-layer/recipes-bsp/amt/lms_2406.0.0.0.bb new file mode 100644 index 00000000..ae60df9e --- /dev/null +++ b/dynamic-layers/openembedded-layer/recipes-bsp/amt/lms_2406.0.0.0.bb | |||
| @@ -0,0 +1,48 @@ | |||
| 1 | SUMMARY = "Intel(R) Local Managability Service" | ||
| 2 | DESCRIPTION = "Intel Local Manageability Service allows applications \ | ||
| 3 | to access the Intel Active Management Technology (AMT) firmware via \ | ||
| 4 | the Intel Management Engine Interface (MEI)." | ||
| 5 | |||
| 6 | LICENSE = "Apache-2.0" | ||
| 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=2ee41112a44fe7014dce33e26468ba93" | ||
| 8 | |||
| 9 | COMPATIBLE_HOST = '(i.86|x86_64).*-linux' | ||
| 10 | |||
| 11 | COMPATIBLE_HOST:libc-musl = "null" | ||
| 12 | |||
| 13 | inherit cmake systemd features_check python3native | ||
| 14 | |||
| 15 | DEPENDS = "metee ace xerces-c libnl libxml2 glib-2.0 glib-2.0-native pkgconfig-native python3-packaging-native" | ||
| 16 | |||
| 17 | # Enable either connman or networkmanager or none but not both. | ||
| 18 | PACKAGECONFIG ??= "connman" | ||
| 19 | PACKAGECONFIG[connman] = "-DNETWORK_CN=ON, -DNETWORK_CN=OFF, connman" | ||
| 20 | PACKAGECONFIG[networkmanager] = "-DNETWORK_NM=ON, -DNETWORK_NM=OFF, networkmanager" | ||
| 21 | |||
| 22 | REQUIRED_DISTRO_FEATURES = "systemd" | ||
| 23 | |||
| 24 | EXTRA_OECMAKE += " \ | ||
| 25 | -DCMAKE_POLICY_VERSION_MINIMUM=3.5 \ | ||
| 26 | " | ||
| 27 | |||
| 28 | FILES:${PN} += "${datadir}/dbus-1/system-services/*.service" | ||
| 29 | |||
| 30 | SYSTEMD_SERVICE:${PN} = "lms.service" | ||
| 31 | |||
| 32 | SRC_URI = "git://github.com/intel/lms.git;branch=master;protocol=https \ | ||
| 33 | file://0001-LMS-fix-build-issue-with-gcc-15.patch \ | ||
| 34 | file://0001-cmake-Bump-required-CMake-version-to-3.5-to-allow-bu.patch \ | ||
| 35 | " | ||
| 36 | SRCREV = "388f115b2aeb3ea11499971c65f828daefd32c47" | ||
| 37 | |||
| 38 | do_install:append() { | ||
| 39 | install -d ${D}${sysconfdir}/lms | ||
| 40 | install -d ${D}${systemd_system_unitdir} | ||
| 41 | install -m 0644 ${B}/UNS/lms.service ${D}${systemd_system_unitdir} | ||
| 42 | install -d ${D}${sysconfdir}/udev/rules.d | ||
| 43 | install -m 0644 ${S}/UNS/linux_scripts/70-mei-wdt.rules ${D}${sysconfdir}/udev/rules.d/70-mei-wdt.rules | ||
| 44 | } | ||
| 45 | |||
| 46 | RDEPENDS:${PN} += "ace" | ||
| 47 | |||
| 48 | CVE_STATUS[CVE-2018-1000535] = "cpe-incorrect: This CVE is for a different LMS - Lan Management System." | ||
diff --git a/dynamic-layers/openembedded-layer/recipes-bsp/thermald/thermald_2.5.8.bb b/dynamic-layers/openembedded-layer/recipes-bsp/thermald/thermald_2.5.8.bb new file mode 100644 index 00000000..575a00e8 --- /dev/null +++ b/dynamic-layers/openembedded-layer/recipes-bsp/thermald/thermald_2.5.8.bb | |||
| @@ -0,0 +1,43 @@ | |||
| 1 | SUMMARY = "Linux thermal daemon" | ||
| 2 | |||
| 3 | DESCRIPTION = "Thermal Daemon is a Linux daemon used to prevent the \ | ||
| 4 | overheating of platforms. This daemon monitors temperature and applies \ | ||
| 5 | compensation using available cooling methods." | ||
| 6 | |||
| 7 | HOMEPAGE = "https://github.com/01org/thermal_daemon" | ||
| 8 | |||
| 9 | DEPENDS = "dbus dbus-glib dbus-glib-native libxml2 glib-2.0 glib-2.0-native upower libevdev" | ||
| 10 | DEPENDS += "autoconf-archive-native" | ||
| 11 | |||
| 12 | LICENSE = "GPL-2.0-only" | ||
| 13 | LIC_FILES_CHKSUM = "file://COPYING;md5=ea8831610e926e2e469075b52bf08848" | ||
| 14 | |||
| 15 | SRC_URI = "git://github.com/intel/thermal_daemon/;branch=master;protocol=https \ | ||
| 16 | " | ||
| 17 | |||
| 18 | SRCREV = "df3b9ab0ffe780c4fbad7750987eff76f659cfd5" | ||
| 19 | |||
| 20 | inherit pkgconfig autotools systemd gtk-doc | ||
| 21 | |||
| 22 | # gtkdocsize runs before autotools do_configure and it copies gtk-doc.m4 and fails | ||
| 23 | # to copy becuase there is no m4 dir yet. | ||
| 24 | do_configure:prepend () { | ||
| 25 | mkdir -p ${S}/m4 | ||
| 26 | } | ||
| 27 | |||
| 28 | EXTRA_OECONF = " \ | ||
| 29 | --with-systemdsystemunitdir=${systemd_system_unitdir} \ | ||
| 30 | " | ||
| 31 | |||
| 32 | FILES:${PN} += "${datadir}/dbus-1" | ||
| 33 | |||
| 34 | SYSTEMD_SERVICE:${PN} = "thermald.service" | ||
| 35 | |||
| 36 | COMPATIBLE_HOST = '(i.86|x86_64).*-linux' | ||
| 37 | |||
| 38 | CONFFILES:${PN} = " \ | ||
| 39 | ${sysconfdir}/thermald/thermal-conf.xml \ | ||
| 40 | ${sysconfdir}/thermald/thermal-cpu-cdev-order.xml \ | ||
| 41 | " | ||
| 42 | |||
| 43 | UPSTREAM_CHECK_URI = "https://github.com/01org/thermal_daemon/releases" | ||
