diff options
author | Darren Hart <dvhart@linux.intel.com> | 2013-05-01 14:16:31 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-05-03 16:19:21 +0100 |
commit | 5874564bf8f5e9cad804f1302e0c7670aca5fda9 (patch) | |
tree | e4e993d2093510e14982df53aed39bcdcaeb06f4 /meta/recipes-devtools | |
parent | 3681c89432b5fb705fe593e75c2d98f7d15a5184 (diff) | |
download | poky-5874564bf8f5e9cad804f1302e0c7670aca5fda9.tar.gz |
dmidecode: Add dmidecode to dev tools
Dmidecode reports information about your system's hardware as described
in your system BIOS according to the SMBIOS/DMI standard.
This recipe was updated to version 2.12 and cleaned up slightly from the
OE 2.10 version and proposed here for inclusion in oe-core.
(From OE-Core rev: 120495843118b55e865bb8d87933bd585fced992)
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/dmidecode/dmidecode_2.12.bb | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/meta/recipes-devtools/dmidecode/dmidecode_2.12.bb b/meta/recipes-devtools/dmidecode/dmidecode_2.12.bb new file mode 100644 index 0000000000..bdddf30c46 --- /dev/null +++ b/meta/recipes-devtools/dmidecode/dmidecode_2.12.bb | |||
@@ -0,0 +1,21 @@ | |||
1 | DESCRIPTION = "DMI (Desktop Management Interface) table related utilities" | ||
2 | HOMEPAGE = "http://www.nongnu.org/dmidecode/" | ||
3 | LICENSE = "GPLv2" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=393a5ca445f6965873eca0259a17f833" | ||
5 | PR = "r0" | ||
6 | |||
7 | SRC_URI = "http://savannah.nongnu.org/download/dmidecode/${P}.tar.bz2" | ||
8 | |||
9 | COMPATIBLE_HOST = "(i.86|x86_64).*-linux" | ||
10 | |||
11 | do_install() { | ||
12 | oe_runmake DESTDIR="${D}" install | ||
13 | } | ||
14 | |||
15 | do_unpack_extra() { | ||
16 | sed -i -e '/^prefix/s:/usr/local:${exec_prefix}:' Makefile | ||
17 | } | ||
18 | addtask unpack_extra after do_unpack before do_patch | ||
19 | |||
20 | SRC_URI[md5sum] = "a406f3cbb27736491698697beeddb781" | ||
21 | SRC_URI[sha256sum] = "913ff3055d563a62a420789b8ee33b038de9afa18ea61254760ddf8ab87a5088" | ||