diff options
author | Nitin A Kamble <nitin.a.kamble@intel.com> | 2013-06-04 12:18:13 +0000 |
---|---|---|
committer | Tom Zanussi <tom.zanussi@intel.com> | 2013-06-12 11:13:30 -0500 |
commit | 523f0945d147e1c73276b15b5fa89cedacc0982b (patch) | |
tree | ee4c946ff0b743467b94d71c483bf36220687142 /common/recipes-bsp/amt/lms7_7.1.20.bb | |
parent | edd694ef677bce72fbb89fad82a352e381f21b45 (diff) | |
download | meta-intel-523f0945d147e1c73276b15b5fa89cedacc0982b.tar.gz |
lms7: reorganize the lms recipe
Preparations for upcoming lms8 recipe. Rename the lms recipe as lms7.
This will allow BSPs to choose either lms7 or lms8 package to suite
the version 7 or 8 firmware available on the board.
Also the lms binary & script is renamed to lms7 to avoid runtime clash
with lms8 packages.
Simplified the dounpack2 function.
And this build time warning is muted:
WARNING: lms7: No generic license file exists for: Modified in any
provider
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
lms7 : tail conexist
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Diffstat (limited to 'common/recipes-bsp/amt/lms7_7.1.20.bb')
-rw-r--r-- | common/recipes-bsp/amt/lms7_7.1.20.bb | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/common/recipes-bsp/amt/lms7_7.1.20.bb b/common/recipes-bsp/amt/lms7_7.1.20.bb new file mode 100644 index 00000000..2c6a29e1 --- /dev/null +++ b/common/recipes-bsp/amt/lms7_7.1.20.bb | |||
@@ -0,0 +1,40 @@ | |||
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 | PV_SUB = "25" | ||
11 | SRC_URI = "http://software.intel.com/file/37962;downloadfilename=${BPN}+${PV}.${PV_SUB}.zip \ | ||
12 | file://atnetworktool-printf-fix.patch \ | ||
13 | file://readlink-declaration.patch" | ||
14 | |||
15 | COMPATIBLE_HOST = '(i.86|x86_64).*-linux' | ||
16 | |||
17 | LIC_FILES_CHKSUM = "file://COPYING;md5=7264184cf88d9f27b719a9656255b47b" | ||
18 | |||
19 | SRC_URI[md5sum] = "687b76e78bfdbcf567c0e842c1fe240a" | ||
20 | SRC_URI[sha256sum] = "cc0457f0044e924794bb1aeae9a72c28666a525cd8a963d0d92970222946e75b" | ||
21 | |||
22 | inherit autotools update-rc.d | ||
23 | |||
24 | INITSCRIPT_NAME = "lms7" | ||
25 | INITSCRIPT_PARAMS = "defaults" | ||
26 | |||
27 | do_unpack2() { | ||
28 | cd ${WORKDIR} | ||
29 | tar -xvzf ${WORKDIR}/outputdir/lms-${PV}-${PV_SUB}.tar.gz | ||
30 | } | ||
31 | |||
32 | addtask unpack2 after do_unpack before do_patch | ||
33 | |||
34 | do_install_append () { | ||
35 | mv ${D}/${sbindir}/lms ${D}/${sbindir}/lms7 | ||
36 | install -d ${D}${sysconfdir}/init.d | ||
37 | mv ${D}${sysconfdir}/rc.d/init.d/lms ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME} | ||
38 | sed -i 's/^NAME=lms/NAME=lms7/' ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME} | ||
39 | rmdir ${D}${datadir} || : | ||
40 | } | ||