diff options
Diffstat (limited to 'dynamic-layers/openembedded-layer/recipes-bsp')
-rw-r--r-- | dynamic-layers/openembedded-layer/recipes-bsp/amt/files/0001-LMS-fix-build-issue-with-gcc-15.patch | 32 | ||||
-rw-r--r-- | dynamic-layers/openembedded-layer/recipes-bsp/amt/lms_2406.0.0.0.bb (renamed from dynamic-layers/openembedded-layer/recipes-bsp/amt/lms_2039.1.0.0.bb) | 28 | ||||
-rw-r--r-- | dynamic-layers/openembedded-layer/recipes-bsp/thermald/thermald_2.5.8.bb | 44 |
3 files changed, 92 insertions, 12 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/lms_2039.1.0.0.bb b/dynamic-layers/openembedded-layer/recipes-bsp/amt/lms_2406.0.0.0.bb index 68b60c8e..c71ac9ea 100644 --- a/dynamic-layers/openembedded-layer/recipes-bsp/amt/lms_2039.1.0.0.bb +++ b/dynamic-layers/openembedded-layer/recipes-bsp/amt/lms_2406.0.0.0.bb | |||
@@ -8,34 +8,38 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=2ee41112a44fe7014dce33e26468ba93" | |||
8 | 8 | ||
9 | COMPATIBLE_HOST = '(i.86|x86_64).*-linux' | 9 | COMPATIBLE_HOST = '(i.86|x86_64).*-linux' |
10 | 10 | ||
11 | COMPATIBLE_HOST_libc-musl = "null" | 11 | COMPATIBLE_HOST:libc-musl = "null" |
12 | 12 | ||
13 | inherit cmake systemd features_check | 13 | inherit cmake systemd features_check python3native |
14 | 14 | ||
15 | DEPENDS = "metee ace xerces-c libnl libxml2 glib-2.0 glib-2.0-native" | 15 | DEPENDS = "metee ace xerces-c libnl libxml2 glib-2.0 glib-2.0-native pkgconfig-native python3-packaging-native" |
16 | |||
17 | EXTRA_OECMAKE += "-DPYTHON_EXECUTABLE=${HOSTTOOLS_DIR}/python3" | ||
18 | 16 | ||
19 | # Enable either connman or networkmanager or none but not both. | 17 | # Enable either connman or networkmanager or none but not both. |
20 | PACKAGECONFIG ??= "connman" | 18 | PACKAGECONFIG ??= "connman" |
21 | PACKAGECONFIG[connman] = "-DNETWORK_CN=ON, -DNETWORK_CN=OFF, connman" | 19 | PACKAGECONFIG[connman] = "-DNETWORK_CN=ON, -DNETWORK_CN=OFF, connman" |
22 | PACKAGECONFIG[networkmanager] = "-DNETWORK_NM=ON, -DNETWORK_NM=OFF, networkmanager" | 20 | PACKAGECONFIG[networkmanager] = "-DNETWORK_NM=ON, -DNETWORK_NM=OFF, networkmanager" |
23 | 21 | ||
24 | REQUIRED_DISTRO_FEATURES= "systemd" | 22 | REQUIRED_DISTRO_FEATURES = "systemd" |
25 | 23 | ||
26 | FILES_${PN} += "${datadir}/dbus-1/system-services/*.service" | 24 | FILES:${PN} += "${datadir}/dbus-1/system-services/*.service" |
27 | 25 | ||
28 | S = "${WORKDIR}/git" | 26 | S = "${WORKDIR}/git" |
29 | 27 | ||
30 | SYSTEMD_SERVICE_${PN} = "lms.service" | 28 | SYSTEMD_SERVICE:${PN} = "lms.service" |
31 | 29 | ||
32 | SRC_URI = "git://github.com/intel/lms.git \ | 30 | SRC_URI = "git://github.com/intel/lms.git;branch=master;protocol=https \ |
31 | file://0001-LMS-fix-build-issue-with-gcc-15.patch \ | ||
33 | " | 32 | " |
34 | SRCREV = "11e6713f794b560328746ac39653d595f01361dc" | 33 | SRCREV = "388f115b2aeb3ea11499971c65f828daefd32c47" |
35 | 34 | ||
36 | do_install_append() { | 35 | do_install:append() { |
36 | install -d ${D}${sysconfdir}/lms | ||
37 | install -d ${D}${systemd_system_unitdir} | 37 | install -d ${D}${systemd_system_unitdir} |
38 | install -m 0644 ${B}/UNS/lms.service ${D}${systemd_system_unitdir} | 38 | install -m 0644 ${B}/UNS/lms.service ${D}${systemd_system_unitdir} |
39 | install -d ${D}${sysconfdir}/udev/rules.d | ||
40 | install -m 0644 ${S}/UNS/linux_scripts/70-mei-wdt.rules ${D}${sysconfdir}/udev/rules.d/70-mei-wdt.rules | ||
39 | } | 41 | } |
40 | 42 | ||
41 | RDEPENDS_${PN} += "ace" | 43 | RDEPENDS:${PN} += "ace" |
44 | |||
45 | 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..fee089de --- /dev/null +++ b/dynamic-layers/openembedded-layer/recipes-bsp/thermald/thermald_2.5.8.bb | |||
@@ -0,0 +1,44 @@ | |||
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 | S = "${WORKDIR}/git" | ||
20 | |||
21 | inherit pkgconfig autotools systemd gtk-doc | ||
22 | |||
23 | # gtkdocsize runs before autotools do_configure and it copies gtk-doc.m4 and fails | ||
24 | # to copy becuase there is no m4 dir yet. | ||
25 | do_configure:prepend () { | ||
26 | mkdir -p ${S}/m4 | ||
27 | } | ||
28 | |||
29 | EXTRA_OECONF = " \ | ||
30 | --with-systemdsystemunitdir=${systemd_system_unitdir} \ | ||
31 | " | ||
32 | |||
33 | FILES:${PN} += "${datadir}/dbus-1" | ||
34 | |||
35 | SYSTEMD_SERVICE:${PN} = "thermald.service" | ||
36 | |||
37 | COMPATIBLE_HOST = '(i.86|x86_64).*-linux' | ||
38 | |||
39 | CONFFILES:${PN} = " \ | ||
40 | ${sysconfdir}/thermald/thermal-conf.xml \ | ||
41 | ${sysconfdir}/thermald/thermal-cpu-cdev-order.xml \ | ||
42 | " | ||
43 | |||
44 | UPSTREAM_CHECK_URI = "https://github.com/01org/thermal_daemon/releases" | ||