diff options
author | Alexander Usyskin <alexander.usyskin@intel.com> | 2019-06-19 13:14:13 +0300 |
---|---|---|
committer | Anuj Mittal <anuj.mittal@intel.com> | 2019-06-19 20:07:20 +0800 |
commit | edad2c42cddaeddb09f06445d190378a0d5ac58c (patch) | |
tree | 9776d6f56e7729d78099806f60fe608f12e87e64 /dynamic-layers/openembedded-layer/recipes-bsp | |
parent | 64142c869b6ace70d2757f5492019a80fa72e6ac (diff) | |
download | meta-intel-edad2c42cddaeddb09f06445d190378a0d5ac58c.tar.gz |
lms: add recipe for lms 1921.0.0.0
This is a new release of Local Manageability Service.
This open-source release deprecates unsupported lms7 and lms8.
This recipe depends on ACE and MeTee library recipes.
Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Diffstat (limited to 'dynamic-layers/openembedded-layer/recipes-bsp')
-rw-r--r-- | dynamic-layers/openembedded-layer/recipes-bsp/amt/files/lms_drop_rpath_1921.0.0.0.diff | 31 | ||||
-rw-r--r-- | dynamic-layers/openembedded-layer/recipes-bsp/amt/lms_1921.0.0.0.bb | 39 |
2 files changed, 70 insertions, 0 deletions
diff --git a/dynamic-layers/openembedded-layer/recipes-bsp/amt/files/lms_drop_rpath_1921.0.0.0.diff b/dynamic-layers/openembedded-layer/recipes-bsp/amt/files/lms_drop_rpath_1921.0.0.0.diff new file mode 100644 index 00000000..b68924a5 --- /dev/null +++ b/dynamic-layers/openembedded-layer/recipes-bsp/amt/files/lms_drop_rpath_1921.0.0.0.diff | |||
@@ -0,0 +1,31 @@ | |||
1 | From b92a5bda8015454a570990a3d9c4fba87010f1af 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 | 4 ---- | ||
12 | 1 file changed, 4 deletions(-) | ||
13 | |||
14 | diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
15 | index 04257fb..85d0445 100644 | ||
16 | --- a/CMakeLists.txt | ||
17 | +++ b/CMakeLists.txt | ||
18 | @@ -107,10 +107,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 | -list (APPEND CMAKE_INSTALL_RPATH "${PROJECT_BINARY_DIR}/UNS/StatusEventHandler") | ||
25 | - | ||
26 | if (BUILD_TESTS) | ||
27 | include (gtest.cmake) | ||
28 | endif (BUILD_TESTS) | ||
29 | -- | ||
30 | 2.7.4 | ||
31 | |||
diff --git a/dynamic-layers/openembedded-layer/recipes-bsp/amt/lms_1921.0.0.0.bb b/dynamic-layers/openembedded-layer/recipes-bsp/amt/lms_1921.0.0.0.bb new file mode 100644 index 00000000..8ed74486 --- /dev/null +++ b/dynamic-layers/openembedded-layer/recipes-bsp/amt/lms_1921.0.0.0.bb | |||
@@ -0,0 +1,39 @@ | |||
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 | FILES_${PN} += "${libdir}/libLms*.so" | ||
22 | FILES_SOLIBSDEV = "" | ||
23 | INSANE_SKIP_${PN} += "dev-so" | ||
24 | |||
25 | S = "${WORKDIR}/git" | ||
26 | |||
27 | SYSTEMD_SERVICE_${PN} = "lms.service" | ||
28 | |||
29 | SRC_URI = "git://github.com/intel/lms.git" | ||
30 | SRCREV = "f7c374745ae7efb3ed7860fdc3f8abbb52dc9f8f" | ||
31 | |||
32 | SRC_URI_append = " file://lms_drop_rpath_${PV}.diff" | ||
33 | |||
34 | do_install_append() { | ||
35 | install -d ${D}${systemd_system_unitdir} | ||
36 | install -m 0644 ${B}/UNS/lms.service ${D}${systemd_system_unitdir} | ||
37 | } | ||
38 | |||
39 | RDEPENDS_${PN} += "ace" | ||