diff options
Diffstat (limited to 'meta/recipes-bsp')
-rw-r--r-- | meta/recipes-bsp/usbutils/usbutils_009.bb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/meta/recipes-bsp/usbutils/usbutils_009.bb b/meta/recipes-bsp/usbutils/usbutils_009.bb index 30522fd0f1..a7cbe45406 100644 --- a/meta/recipes-bsp/usbutils/usbutils_009.bb +++ b/meta/recipes-bsp/usbutils/usbutils_009.bb | |||
@@ -22,3 +22,11 @@ FILES_${PN}-dev += "${datadir}/pkgconfig" | |||
22 | 22 | ||
23 | RRECOMMENDS_${PN} = "udev-hwdb" | 23 | RRECOMMENDS_${PN} = "udev-hwdb" |
24 | RDEPENDS_${PN}-ptest = "libboost-system libboost-thread" | 24 | RDEPENDS_${PN}-ptest = "libboost-system libboost-thread" |
25 | |||
26 | PACKAGE_BEFORE_PN =+ "${PN}-python" | ||
27 | FILES_${PN}-python += "${bindir}/lsusb.py" | ||
28 | RDEPENDS_${PN}-python = "python3-core" | ||
29 | |||
30 | do_install_append() { | ||
31 | sed -i -E '1s,#!.+python,#!${bindir}/python3,' ${D}${bindir}/lsusb.py | ||
32 | } | ||