libusb: do not depend on host-udev for host variant
authorArnout Vandecappelle <arnout@mind.be>
Wed, 29 Jan 2014 21:33:07 +0000 (22:33 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 29 Jan 2014 21:37:01 +0000 (22:37 +0100)
Commit 25926af5 disabled udev support for the host variant, but forgot to
remove it from the (implicit) host dependencies.

Also reordered things to keep the HOST_* definitions together.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/libusb/libusb.mk

index ffb39ba49cb81a4c2d7e675130fb7987d0858985..a8ff74c2f97babccce2fe4b510d4b845794e8e33 100644 (file)
@@ -8,12 +8,15 @@ LIBUSB_VERSION_MAJOR = 1.0
 LIBUSB_VERSION = $(LIBUSB_VERSION_MAJOR).18
 LIBUSB_SOURCE = libusb-$(LIBUSB_VERSION).tar.bz2
 LIBUSB_SITE = http://downloads.sourceforge.net/project/libusb/libusb-$(LIBUSB_VERSION_MAJOR)/libusb-$(LIBUSB_VERSION)
-HOST_LIBUSB_CONF_OPT = --disable-udev
 LIBUSB_LICENSE = LGPLv2.1+
 LIBUSB_LICENSE_FILES = COPYING
 LIBUSB_DEPENDENCIES = host-pkgconf
 LIBUSB_INSTALL_STAGING = YES
 
+# Avoid the discovery of udev for the host variant
+HOST_LIBUSB_CONF_OPT = --disable-udev
+HOST_LIBUSB_DEPENDENCIES = host-pkgconf
+
 ifeq ($(BR2_avr32),y)
 LIBUSB_CONF_OPT += --disable-timerfd
 endif