Skip to contentSkip to conversation

libusb1: disable floating dependency on udev

PATCH New Saul Wold 1 participant 1 message May 16, 2014

lore
Share & tools
lore

Saul Wold

author
#0 lore raw

PATCH 1/1 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.

---
 .../libusb/libusb1/obsolete_automake_macros.patch         | 15 ---------------
 meta/recipes-support/libusb/libusb1_1.0.18.bb             |  4 +++-
 2 files changed, 3 insertions(+), 16 deletions(-)
 delete mode 100644 meta/recipes-support/libusb/libusb1/obsolete_automake_macros.patch
meta/recipes-support/libusb/libusb1/obsolete_automake_macros.patch deleted +0 -15
deleted file mode 100644
index b1dd66c..0000000
@@ -1,15 +0,0 @@
-Upstream-Status: Submitted [https://libusb.org/ticket/159]
-
-Signed-off-by: Marko Lindqvist <[email protected]>
-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])
meta/recipes-support/libusb/libusb1_1.0.18.bb +3 -1
index c64f1db..395145a 100644
@@ -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}
Signature · 1 line
1.8.3.1