kumquat-buildroot/package/lshw/Config.in
Carlos Santos 29bccabdeb lshw: use data files provided by hwdata
lshw is seldomly released, so its data files become easily
outdated. Instead, this commit makes use of the data files provided by
hwdata. This is easily possible because lshw looks for the files in
several directories, including /usr/share/hwdata, where the hwdata
collection is installed.

We remove the entire /usr/share/lshw directory, where the not very
up-to-date data files where installed. Four files were installed
there: pci.ids, usb.ids (which are now provided by hwdata), manuf.txt
and oui.txt (which are not used at run time).

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
[Thomas:
 - rework commit log
 - replace patch by a simple removal of the /usr/share/lshw directory
 - add "runtime" comment in Config.in for the BR2_PACKAGE_LSHW
   dependency]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-03-26 23:10:35 +02:00

17 lines
485 B
Plaintext

config BR2_PACKAGE_LSHW
bool "lshw"
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_USE_WCHAR
select BR2_PACKAGE_HWDATA # runtime
select BR2_PACKAGE_HWDATA_PCI_IDS
select BR2_PACKAGE_HWDATA_USB_IDS
help
lshw (Hardware Lister) is a small tool to provide
detailed information on the hardware configuration of the
machine.
http://ezix.org/project/wiki/HardwareLiSter
comment "lshw needs a toolchain w/ C++, wchar"
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR