mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-16 16:27:27 +00:00
faa20de883
Add new recipe for lshw B.02.18 version - a small tool to provide detailed information on the hardware configuration of the machine. Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
33 lines
1.1 KiB
BlitzBasic
33 lines
1.1 KiB
BlitzBasic
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}
|
|
}
|