summaryrefslogtreecommitdiffstats
path: root/meta-sota/recipes-support/lshw/lshw_02.16.bb
blob: 677c6dad7a7f89dd045de944a35cb97a90c0b1b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# From meta-linaro
# http://git.linaro.org/openembedded/meta-linaro.git

DESCRIPTION = "A small tool to provide detailed information on the hardware \
configuration of the machine. It can report exact memory configuration, \
firmware version, mainboard configuration, CPU version and speed, cache \
configuration, bus speed, etc. on DMI-capable or EFI systems."
SUMMARY = "Hardware lister"
HOMEPAGE = "http://ezix.org/project/wiki/HardwareLiSter"
SECTION = "console/tools"
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
DEPENDS = "pciutils \
    usbutils"
COMPATIBLE_HOST = "(i.86|x86_64|arm|aarch64).*-linux"

PR="r1"

SRC_URI="http://ezix.org/software/files/lshw-B.${PV}.tar.gz \
    file://cross-compile.patch \
    file://ldflags.patch \
    "

SRC_URI[md5sum] = "67479167add605e8f001097c30e96d0d"
SRC_URI[sha256sum] = "809882429555b93259785cc261dbff04c16c93d064db5f445a51945bc47157cb"

S="${WORKDIR}/lshw-B.${PV}"

do_compile() {
    # build core only - don't ship gui
    oe_runmake -C src core
}

do_install() {
    oe_runmake install DESTDIR=${D}
    # data files provided by dependencies
    rm -rf ${D}/usr/share/lshw
}