[meta-intel] [PATCH 08/20] lms8: new recipe to support AMT version 8

nitin.a.kamble at intel.com nitin.a.kamble at intel.com
Tue Jun 11 17:55:04 PDT 2013


From: Nitin A Kamble <nitin.a.kamble at intel.com>

Some of the newer boards have AMT/MEI firmware of version 8. These BSPs
need verion 8 of the lms package, which this recipe is providing.

Also the lms binary & script is renamed to lms8 to avoid runtime clash
with lms7 packages.

Signed-off-by: Nitin A Kamble <nitin.a.kamble at intel.com>
---
 common/recipes-bsp/amt/lms8_8.0.0-7.bb | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)
 create mode 100644 common/recipes-bsp/amt/lms8_8.0.0-7.bb

diff --git a/common/recipes-bsp/amt/lms8_8.0.0-7.bb b/common/recipes-bsp/amt/lms8_8.0.0-7.bb
new file mode 100644
index 0000000..fbb4e45
--- /dev/null
+++ b/common/recipes-bsp/amt/lms8_8.0.0-7.bb
@@ -0,0 +1,32 @@
+DESCRIPTION = "Intel Local Manageability Service allows applications \
+to access the Intel Active Management Technology (AMT) firmware via \
+the Intel Management Engine Interface (MEI)."
+HOMEPAGE = "http://software.intel.com/en-us/articles/download-the-latest-intel-amt-open-source-drivers"
+
+LICENSE = "BSD_LMS"
+
+PR = "r0"
+BPN="lms"
+SRC_URI = "http://software.intel.com/sites/default/files/${BPN}-${PV}.tar.gz \
+           file://readlink-declaration.patch"
+
+COMPATIBLE_HOST = '(i.86|x86_64).*-linux'
+
+LIC_FILES_CHKSUM = "file://COPYING;md5=ec77c894e8a1a89fa07aed2c76680ab8"
+
+SRC_URI[md5sum] = "3cbd027a0e6e9ced8238478b24cde3c6"
+SRC_URI[sha256sum] = "7077db6f2f381e67cb37565b20c40ff0c7d3f98f014e65622a4b4b66c2b1d637"
+
+inherit autotools update-rc.d
+
+INITSCRIPT_NAME = "lms8"
+INITSCRIPT_PARAMS = "defaults"
+
+
+do_install_append () {
+	mv ${D}/${sbindir}/lms ${D}/${sbindir}/lms8
+	install -d ${D}${sysconfdir}/init.d
+	mv ${D}${sysconfdir}/rc.d/init.d/lms ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME}
+	sed -i 's/^NAME=lms/NAME=lms8/' ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME}
+	rmdir ${D}${datadir} || :
+}
-- 
1.8.1.4




More information about the meta-intel mailing list