blob: b344fbf3265169c497ffdc5fcf587a171e2c25db [file] [log] [blame]
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=b234ee4d69f5fce4486a80fdaf4a4263"
COMPATIBLE_HOST = "(i.86|x86_64|arm|aarch64).*-linux"
SRC_URI = " \
http://ezix.org/software/files/lshw-B.${PV}.tar.gz \
file://0001-Makefile-Fix-cross-compilation.patch \
file://0002-Makefile-Use-supplied-LDFLAGS-to-silence-OE-GNU_HASH.patch \
file://0003-sysfs-Fix-basename-build-with-musl.patch \
"
SRC_URI[md5sum] = "8671c6d94d6324a744b7f21f1bfecfd2"
SRC_URI[sha256sum] = "ae22ef11c934364be4fd2a0a1a7aadf4495a0251ec6979da280d342a89ca3c2f"
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}
}