diff options
Diffstat (limited to 'poky/meta/recipes-support/libusb')
-rw-r--r-- | poky/meta/recipes-support/libusb/libusb1_1.0.22.bb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/poky/meta/recipes-support/libusb/libusb1_1.0.22.bb b/poky/meta/recipes-support/libusb/libusb1_1.0.22.bb index 0c6e116dd..1d9d77257 100644 --- a/poky/meta/recipes-support/libusb/libusb1_1.0.22.bb +++ b/poky/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} |