summaryrefslogtreecommitdiff
path: root/meta/recipes-support/libusb
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2014-05-16 13:50:45 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-05-20 12:22:08 +0100
commit5c0f8111f9ec5a2c3b2826946af5132aaa13a9b9 (patch)
treef77312dac2f38e82f67f3f550bcecd3c6252bc4c /meta/recipes-support/libusb
parente273301efa0037a13c3a60b4414140364d9c9873 (diff)
downloadopenembedded-core-5c0f8111f9ec5a2c3b2826946af5132aaa13a9b9.tar.gz
openembedded-core-5c0f8111f9ec5a2c3b2826946af5132aaa13a9b9.tar.bz2
openembedded-core-5c0f8111f9ec5a2c3b2826946af5132aaa13a9b9.zip
libusb1: disable floating dependency on udev
libusb added support for udev, but this causes a circular dependecny between udev and libusb, so hardcode the disable here. Also remove the patch that is no longer used. Signed-off-by: Saul Wold <sgw@linux.intel.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/obsolete_automake_macros.patch15
-rw-r--r--meta/recipes-support/libusb/libusb1_1.0.18.bb4
2 files changed, 3 insertions, 16 deletions
diff --git a/meta/recipes-support/libusb/libusb1/obsolete_automake_macros.patch b/meta/recipes-support/libusb/libusb1/obsolete_automake_macros.patch
deleted file mode 100644
index b1dd66c969..0000000000
--- a/meta/recipes-support/libusb/libusb1/obsolete_automake_macros.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-Upstream-Status: Submitted [https://libusb.org/ticket/159]
-
-Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
-diff -Nurd libusb-1.0.9/configure.ac libusb-1.0.9/configure.ac
---- libusb-1.0.9/configure.ac 2012-04-20 09:44:27.000000000 +0300
-+++ libusb-1.0.9/configure.ac 2013-01-02 16:36:44.152121483 +0200
-@@ -31,7 +31,7 @@
-
- AC_CONFIG_SRCDIR([libusb/core.c])
- AC_CONFIG_MACRO_DIR([m4])
--AM_CONFIG_HEADER([config.h])
-+AC_CONFIG_HEADERS([config.h])
- m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
-
- AC_PREREQ([2.50])
diff --git a/meta/recipes-support/libusb/libusb1_1.0.18.bb b/meta/recipes-support/libusb/libusb1_1.0.18.bb
index c64f1dba21..395145af10 100644
--- a/meta/recipes-support/libusb/libusb1_1.0.18.bb
+++ b/meta/recipes-support/libusb/libusb1_1.0.18.bb
@@ -18,7 +18,9 @@ S = "${WORKDIR}/libusb-${PV}"
inherit autotools pkgconfig
-EXTRA_OECONF = "--libdir=${base_libdir}"
+# 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"
do_install_append() {
install -d ${D}${libdir}