diff options
Diffstat (limited to 'common/recipes-bsp/amt/lms8_8.0.0-7.bb')
-rw-r--r-- | common/recipes-bsp/amt/lms8_8.0.0-7.bb | 46 |
1 files changed, 46 insertions, 0 deletions
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..9b37b9b --- /dev/null +++ b/common/recipes-bsp/amt/lms8_8.0.0-7.bb | |||
@@ -0,0 +1,46 @@ | |||
1 | DESCRIPTION = "Intel Local Manageability Service allows applications \ | ||
2 | to access the Intel Active Management Technology (AMT) firmware via \ | ||
3 | the Intel Management Engine Interface (MEI)." | ||
4 | HOMEPAGE = "http://software.intel.com/en-us/articles/download-the-latest-intel-amt-open-source-drivers" | ||
5 | |||
6 | LICENSE = "BSD_LMS" | ||
7 | |||
8 | PR = "r0" | ||
9 | BPN="lms" | ||
10 | SRC_URI = "http://software.intel.com/sites/default/files/${BPN}-${PV}.tar.gz \ | ||
11 | file://readlink-declaration.patch \ | ||
12 | file://0001-Protocol.cpp-Add-whitespace-for-gcc6-compile-error.patch \ | ||
13 | file://0001-Include-sys-select.h-for-fd_set.patch \ | ||
14 | file://0002-Use-proper-netinet-in.h-API.patch \ | ||
15 | file://0003-Fix-device-file-referance-to-dev-mei0-remove-select.patch \ | ||
16 | file://0004-Intel-AMT-ME-real-time-notification-infra.patch \ | ||
17 | " | ||
18 | |||
19 | FILES_${PN} += "${datadir}/xml/AMTAlerts.xml" | ||
20 | |||
21 | COMPATIBLE_HOST = '(i.86|x86_64).*-linux' | ||
22 | |||
23 | LIC_FILES_CHKSUM = "file://COPYING;md5=ec77c894e8a1a89fa07aed2c76680ab8" | ||
24 | |||
25 | SRC_URI[md5sum] = "3cbd027a0e6e9ced8238478b24cde3c6" | ||
26 | SRC_URI[sha256sum] = "7077db6f2f381e67cb37565b20c40ff0c7d3f98f014e65622a4b4b66c2b1d637" | ||
27 | |||
28 | inherit autotools update-rc.d | ||
29 | |||
30 | INITSCRIPT_NAME = "lms8" | ||
31 | INITSCRIPT_PARAMS = "defaults" | ||
32 | |||
33 | |||
34 | do_install_append () { | ||
35 | mv ${D}/${sbindir}/lms ${D}/${sbindir}/lms8 | ||
36 | install -d ${D}${sysconfdir}/init.d | ||
37 | # The configure script looks at the host to decide where to put init | ||
38 | # scripts, so move it at the same time as renaming it. | ||
39 | if test -f ${D}${sysconfdir}/rc.d/init.d/lms ; then | ||
40 | mv ${D}${sysconfdir}/rc.d/init.d/lms ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME} | ||
41 | else | ||
42 | mv ${D}${sysconfdir}/init.d/lms ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME} | ||
43 | fi | ||
44 | sed -i 's/^NAME=lms/NAME=lms8/' ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME} | ||
45 | rmdir ${D}${datadir} || : | ||
46 | } | ||