diff options
Diffstat (limited to 'recipes-support/lshw/lshw_02.17.bb')
| -rw-r--r-- | recipes-support/lshw/lshw_02.17.bb | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/recipes-support/lshw/lshw_02.17.bb b/recipes-support/lshw/lshw_02.17.bb new file mode 100644 index 0000000..1ecc4c1 --- /dev/null +++ b/recipes-support/lshw/lshw_02.17.bb | |||
| @@ -0,0 +1,36 @@ | |||
| 1 | # From meta-linaro | ||
| 2 | # http://git.linaro.org/openembedded/meta-linaro.git | ||
| 3 | |||
| 4 | DESCRIPTION = "A small tool to provide detailed information on the hardware \ | ||
| 5 | configuration of the machine. It can report exact memory configuration, \ | ||
| 6 | firmware version, mainboard configuration, CPU version and speed, cache \ | ||
| 7 | configuration, bus speed, etc. on DMI-capable or EFI systems." | ||
| 8 | SUMMARY = "Hardware lister" | ||
| 9 | HOMEPAGE = "http://ezix.org/project/wiki/HardwareLiSter" | ||
| 10 | SECTION = "console/tools" | ||
| 11 | LICENSE = "GPLv2+" | ||
| 12 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | ||
| 13 | DEPENDS = "pciutils \ | ||
| 14 | usbutils" | ||
| 15 | COMPATIBLE_HOST = "(i.86|x86_64|arm|aarch64).*-linux" | ||
| 16 | |||
| 17 | SRC_URI="http://ezix.org/software/files/lshw-B.${PV}.tar.gz \ | ||
| 18 | file://cross-compile.patch \ | ||
| 19 | file://ldflags.patch \ | ||
| 20 | " | ||
| 21 | |||
| 22 | SRC_URI[md5sum] = "a5feb796cb302850eaf5b4530888e3ed" | ||
| 23 | SRC_URI[sha256sum] = "eb9cc053fa0f1e78685cb695596e73931bfb55d2377e3bc3b8b94aff4c5a489c" | ||
| 24 | |||
| 25 | S="${WORKDIR}/lshw-B.${PV}" | ||
| 26 | |||
| 27 | do_compile() { | ||
| 28 | # build core only - don't ship gui | ||
| 29 | oe_runmake -C src core | ||
| 30 | } | ||
| 31 | |||
| 32 | do_install() { | ||
| 33 | oe_runmake install DESTDIR=${D} | ||
| 34 | # data files provided by dependencies | ||
| 35 | rm -rf ${D}/usr/share/lshw | ||
| 36 | } | ||
