summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-bsp')
-rw-r--r--meta/recipes-bsp/usbutils/usbutils_009.bb8
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
23RRECOMMENDS_${PN} = "udev-hwdb" 23RRECOMMENDS_${PN} = "udev-hwdb"
24RDEPENDS_${PN}-ptest = "libboost-system libboost-thread" 24RDEPENDS_${PN}-ptest = "libboost-system libboost-thread"
25
26PACKAGE_BEFORE_PN =+ "${PN}-python"
27FILES_${PN}-python += "${bindir}/lsusb.py"
28RDEPENDS_${PN}-python = "python3-core"
29
30do_install_append() {
31 sed -i -E '1s,#!.+python,#!${bindir}/python3,' ${D}${bindir}/lsusb.py
32}