diff options
author | Alistair Francis <Alistair.Francis@wdc.com> | 2019-01-29 23:10:12 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-02-02 11:05:59 +0000 |
commit | 23eab5d82c04e3f9e90a7e178b8d1535a14377ec (patch) | |
tree | e4b9871fe36d53783d98d86b84faa272819f154b /meta/recipes-support/libusb | |
parent | 1a4d265ac043acd7a72919599f7e940ba6fb2dcf (diff) | |
download | poky-23eab5d82c04e3f9e90a7e178b8d1535a14377ec.tar.gz |
libusb1: Add udev support
I don't see circular dependencies anymore between libusb1 and udev, so
enable udev support for libusb1.
(From OE-Core rev: e585076ed752e67bb5fd1888da7a738a34f3048a)
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/libusb')
-rw-r--r-- | meta/recipes-support/libusb/libusb1_1.0.22.bb | 7 |
1 files 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 0c6e116dd7..1d9d772575 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}" | |||
20 | 20 | ||
21 | inherit autotools pkgconfig ptest | 21 | inherit autotools pkgconfig ptest |
22 | 22 | ||
23 | # Don't configure udev by default since it will cause a circular | 23 | PACKAGECONFIG_class-target ??= "udev" |
24 | # dependecy with udev package, which depends on libusb | 24 | PACKAGECONFIG[udev] = "--enable-udev,--disable-udev,udev" |
25 | EXTRA_OECONF = "--libdir=${base_libdir} --disable-udev" | 25 | |
26 | EXTRA_OECONF = "--libdir=${base_libdir}" | ||
26 | 27 | ||
27 | do_install_append() { | 28 | do_install_append() { |
28 | install -d ${D}${libdir} | 29 | install -d ${D}${libdir} |