mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-08 08:30:47 -09:00
package/usbutils: only needs libudev, not udev daemon
libudev-zero version 1.0.4 added support for usb.ids with commit
2bebebc9e0
Also select hwdata when libudev-zero implementation for udev is used to
more useful output from usbutils. This is strictly speaking an optional
dependency but would be confusing if it weren't working.
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
[Marcus: add note about selecting hwdata]
Signed-off-by: Marcus Hoffmann <buildroot@bubu1.eu>
This commit is contained in:
committed by
Marcus Hoffmann
parent
3dd9f98978
commit
b94ada7608
@@ -2,7 +2,9 @@ config BR2_PACKAGE_USBUTILS
|
||||
bool "usbutils"
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
|
||||
depends on BR2_PACKAGE_HAS_UDEV # needs hwdb
|
||||
depends on BR2_PACKAGE_HAS_LIBUDEV
|
||||
select BR2_PACKAGE_HWDATA if BR2_PACKAGE_LIBUDEV_ZERO
|
||||
select BR2_PACKAGE_HWDATA_USB_IDS if BR2_PACKAGE_LIBUDEV_ZERO
|
||||
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
|
||||
select BR2_PACKAGE_LIBUSB
|
||||
help
|
||||
@@ -10,7 +12,7 @@ config BR2_PACKAGE_USBUTILS
|
||||
|
||||
http://linux-usb.sourceforge.net/
|
||||
|
||||
comment "usbutils needs udev /dev management and toolchain w/ threads, gcc >= 4.9"
|
||||
comment "usbutils needs libudev and a toolchain w/ threads, wchar, dynamic library, gcc >= 4.9"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || \
|
||||
!BR2_PACKAGE_HAS_UDEV || \
|
||||
!BR2_PACKAGE_HAS_LIBUDEV || \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
USBUTILS_VERSION = 019
|
||||
USBUTILS_SOURCE = usbutils-$(USBUTILS_VERSION).tar.xz
|
||||
USBUTILS_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/usb/usbutils
|
||||
USBUTILS_DEPENDENCIES = host-pkgconf libusb udev
|
||||
USBUTILS_DEPENDENCIES = host-pkgconf libudev libusb
|
||||
USBUTILS_LICENSE = GPL-2.0+ (utils) GPL-2.0 or GPL-3.0 (lsusb.py)
|
||||
USBUTILS_LICENSE_FILES = LICENSES/GPL-2.0-only.txt LICENSES/GPL-3.0-only.txt
|
||||
|
||||
|
||||
Reference in New Issue
Block a user