[oe-commits] [openembedded-core] 11/30: libusb1: Add udev support

git at git.openembedded.org git at git.openembedded.org
Thu Jan 31 09:46:17 UTC 2019

This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit b0e3f385ef8ba6e47a71d86089a9722daa8c3ca5
Author: Alistair Francis <Alistair.Francis at wdc.com>
AuthorDate: Tue Jan 29 23:10:12 2019 +0000

    libusb1: Add udev support
    I don't see circular dependencies anymore between libusb1 and udev, so
    enable udev support for libusb1.
    Signed-off-by: Alistair Francis <alistair.francis at wdc.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
 meta/recipes-support/libusb/libusb1_1.0.22.bb | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-support/libusb/libusb1_1.0.22.bb b/meta/recipes-support/libusb/libusb1_1.0.22.bb
index 0c6e116..1d9d772 100644
--- a/meta/recipes-support/libusb/libusb1_1.0.22.bb
+++ b/meta/recipes-support/libusb/libusb1_1.0.22.bb
@@ -20,9 +20,10 @@ S = "${WORKDIR}/libusb-${PV}"
 inherit autotools pkgconfig ptest
-# Don't configure udev by default since it will cause a circular
-# dependecy with udev package, which depends on libusb
-EXTRA_OECONF = "--libdir=${base_libdir} --disable-udev"
+PACKAGECONFIG_class-target ??= "udev"
+PACKAGECONFIG[udev] = "--enable-udev,--disable-udev,udev"
+EXTRA_OECONF = "--libdir=${base_libdir}"
 do_install_append() {
 	install -d ${D}${libdir}

To stop receiving notification emails like this one, please contact
the administrator of this repository.

More information about the Openembedded-commits mailing list