diff options
author | Fabio Estevam <festevam@denx.de> | 2024-01-04 00:24:34 -0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-01-09 22:59:28 +0000 |
commit | 04f1d1ec6bd7ad84116d129a88295f9d2a7cb5e3 (patch) | |
tree | 4de67fcb561b230df33ad633b66c997e1ffe819d /meta/recipes-bsp/usbutils/usbutils_017.bb | |
parent | 14220bb99c2b93c398b7714321082c1a01aef36a (diff) | |
download | poky-04f1d1ec6bd7ad84116d129a88295f9d2a7cb5e3.tar.gz |
usbutils: Update to version 017
Update to version 017 and add a patch to fix a buildpath error.
(From OE-Core rev: 66877ee144a4ccf36c55a8c027a36a21bb58fa47)
Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp/usbutils/usbutils_017.bb')
-rw-r--r-- | meta/recipes-bsp/usbutils/usbutils_017.bb | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta/recipes-bsp/usbutils/usbutils_017.bb b/meta/recipes-bsp/usbutils/usbutils_017.bb new file mode 100644 index 0000000000..a2e340ea4f --- /dev/null +++ b/meta/recipes-bsp/usbutils/usbutils_017.bb | |||
@@ -0,0 +1,33 @@ | |||
1 | SUMMARY = "Host side USB console utilities" | ||
2 | DESCRIPTION = "Contains the lsusb utility for inspecting the devices connected to the USB bus." | ||
3 | HOMEPAGE = "http://www.linux-usb.org" | ||
4 | SECTION = "base" | ||
5 | |||
6 | LICENSE = "GPL-2.0-or-later & (GPL-2.0-only | GPL-3.0-only)" | ||
7 | # License files went missing in 010, when 011 is released add LICENSES/* back | ||
8 | LIC_FILES_CHKSUM = "file://lsusb.c;endline=1;md5=7226e442a172bcf25807246d7ef1eba1 \ | ||
9 | file://lsusb.py.in;beginline=2;endline=2;md5=c443ada211d701156e42ea36d41625b3 \ | ||
10 | " | ||
11 | |||
12 | DEPENDS = "libusb1 virtual/libiconv udev" | ||
13 | |||
14 | SRC_URI = "${KERNELORG_MIRROR}/linux/utils/usb/usbutils/usbutils-${PV}.tar.gz \ | ||
15 | file://0001-usbutils.pc.in-Fix-Cflags-entry.patch \ | ||
16 | " | ||
17 | SRC_URI[sha256sum] = "f704c4cb78a060db88b43aac6ebfd3d93c2c5cf1d6dd0e42936faaf00814ab00" | ||
18 | |||
19 | inherit autotools pkgconfig update-alternatives | ||
20 | |||
21 | ALTERNATIVE:${PN} = "lsusb" | ||
22 | ALTERNATIVE_PRIORITY = "100" | ||
23 | |||
24 | # The binaries are mostly GPL-2.0-or-later apart from lsusb.py which is | ||
25 | # GPL-2.0-only or GPL-3.0-only. | ||
26 | LICENSE:${PN} = "GPL-2.0-or-later" | ||
27 | LICENSE:${PN}-python = "GPL-2.0-only | GPL-3.0-only" | ||
28 | |||
29 | RRECOMMENDS:${PN} = "udev-hwdb" | ||
30 | |||
31 | PACKAGE_BEFORE_PN =+ "${PN}-python" | ||
32 | FILES:${PN}-python += "${bindir}/lsusb.py" | ||
33 | RDEPENDS:${PN}-python = "python3-core" | ||