summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/usbutils
diff options
context:
space:
mode:
authorRicardo Salveti <ricardo@opensourcefoundries.com>2018-04-17 19:47:29 -0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-04-20 08:12:16 +0100
commite06ab7c88dc8e0e9af584254f43ae6a66b01eb92 (patch)
tree5fd03abea76693e5c9a76331187d48909f02246d /meta/recipes-bsp/usbutils
parent06f4699036f453f5c942599466054580c4389ead (diff)
downloadpoky-e06ab7c88dc8e0e9af584254f43ae6a66b01eb92.tar.gz
usbutils: use update-alternatives for lsusb
lsusb can also be provided by busybox (CONFIG_LSUSB), so use update-alternatives to handle the conflict. (From OE-Core rev: 3c9ab895f937a7e232780c7cb697e102b5f9aaa8) Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp/usbutils')
-rw-r--r--meta/recipes-bsp/usbutils/usbutils_009.bb5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/recipes-bsp/usbutils/usbutils_009.bb b/meta/recipes-bsp/usbutils/usbutils_009.bb
index 88c24bd22a..3ffc0dd97a 100644
--- a/meta/recipes-bsp/usbutils/usbutils_009.bb
+++ b/meta/recipes-bsp/usbutils/usbutils_009.bb
@@ -15,7 +15,10 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/utils/usb/usbutils/usbutils-${PV}.tar.gz \
15SRC_URI[md5sum] = "b5dbc498b2eb5058f7a57fc6532d0aad" 15SRC_URI[md5sum] = "b5dbc498b2eb5058f7a57fc6532d0aad"
16SRC_URI[sha256sum] = "e73543293a17c7803994eac97a49e58b377e08e6299ba11aad09794b91340e8b" 16SRC_URI[sha256sum] = "e73543293a17c7803994eac97a49e58b377e08e6299ba11aad09794b91340e8b"
17 17
18inherit autotools pkgconfig distro_features_check 18inherit autotools pkgconfig distro_features_check update-alternatives
19
20ALTERNATIVE_${PN} = "lsusb"
21ALTERNATIVE_PRIORITY = "100"
19 22
20FILES_${PN}-dev += "${datadir}/pkgconfig" 23FILES_${PN}-dev += "${datadir}/pkgconfig"
21 24