meta-openembedded/meta-oe/recipes-devtools/lshw/lshw_02.20.bb
Alexander Kanavin fc78d37ff0
meta-openembedded/all: adapt to UNPACKDIR changes
Please see
https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265
for what changes are needed, and sed commands that can be used to make them en masse.

I've verified that bitbake -c patch world works with these, but did not run a world
build; the majority of recipes shouldn't need further fixups, but if there are
some that still fall out, they can be fixed in followups.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-06-25 06:44:52 -07:00

43 lines
1.2 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 = "GPL-2.0-or-later"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
COMPATIBLE_HOST = "(i.86|x86_64|arm|aarch64|riscv64).*-linux"
PV .= "+git"
SRCREV = "4c6497c8b0a67cd9fa9693e9101a7cafd3297e81"
SRC_URI = " \
git://github.com/lyonel/lshw.git;protocol=https;branch=master \
file://0001-disable-docbook2man.patch \
"
inherit pkgconfig
DEPENDS = "gettext-native"
PACKAGECONFIG ??= "zlib"
PACKAGECONFIG[sqlite] = "SQLITE=1,SQLITE=0,sqlite3"
PACKAGECONFIG[zlib] = "ZLIB=1,ZLIB=0,zlib gzip-native"
# use the PACKAGECONFIG configurations arguments
EXTRA_OEMAKE = "${PACKAGECONFIG_CONFARGS} RPM_OPT_FLAGS='${CFLAGS}'"
do_compile() {
# build core only - don't ship gui
oe_runmake -C src core
}
do_install() {
oe_runmake install DESTDIR=${D}
}
BBCLASSEXTEND = "native"