mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
Unknown find parameter -printf makes usb-devices script unusable with busybox. Replace the parameter to fix this issue. (From OE-Core rev: bb7dad01066d22c3cc4465bdf39ec4e310821d15) Signed-off-by: Teresa Remmet <t.remmet@phytec.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit c7c9f827e914b7c27856d995da553a2e41372321) Signed-off-by: Steve Sakoman <steve@sakoman.com>
35 lines
1.3 KiB
BlitzBasic
35 lines
1.3 KiB
BlitzBasic
SUMMARY = "Host side USB console utilities"
|
|
DESCRIPTION = "Contains the lsusb utility for inspecting the devices connected to the USB bus."
|
|
HOMEPAGE = "http://www.linux-usb.org"
|
|
SECTION = "base"
|
|
|
|
LICENSE = "GPL-2.0-or-later & (GPL-2.0-only | GPL-3.0-only)"
|
|
# License files went missing in 010, when 011 is released add LICENSES/* back
|
|
LIC_FILES_CHKSUM = "file://lsusb.c;endline=1;md5=7226e442a172bcf25807246d7ef1eba1 \
|
|
file://lsusb.py.in;beginline=2;endline=2;md5=c443ada211d701156e42ea36d41625b3 \
|
|
"
|
|
|
|
DEPENDS = "libusb1 virtual/libiconv udev"
|
|
|
|
SRC_URI = "${KERNELORG_MIRROR}/linux/utils/usb/usbutils/usbutils-${PV}.tar.gz \
|
|
file://0001-usbutils.pc.in-Fix-Cflags-entry.patch \
|
|
file://0001-usb-devices-Fix-usb-devices-with-busybox.patch \
|
|
"
|
|
SRC_URI[sha256sum] = "f704c4cb78a060db88b43aac6ebfd3d93c2c5cf1d6dd0e42936faaf00814ab00"
|
|
|
|
inherit autotools pkgconfig update-alternatives
|
|
|
|
ALTERNATIVE:${PN} = "lsusb"
|
|
ALTERNATIVE_PRIORITY = "100"
|
|
|
|
# The binaries are mostly GPL-2.0-or-later apart from lsusb.py which is
|
|
# GPL-2.0-only or GPL-3.0-only.
|
|
LICENSE:${PN} = "GPL-2.0-or-later"
|
|
LICENSE:${PN}-python = "GPL-2.0-only | GPL-3.0-only"
|
|
|
|
RRECOMMENDS:${PN} = "udev-hwdb"
|
|
|
|
PACKAGE_BEFORE_PN =+ "${PN}-python"
|
|
FILES:${PN}-python += "${bindir}/lsusb.py"
|
|
RDEPENDS:${PN}-python = "python3-core"
|