Commit 8c13f9e8 authored by Arnout Vandecappelle's avatar Arnout Vandecappelle Committed by Peter Korsgaard
Browse files

libusb: do not depend on host-udev for host variant



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: default avatarArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: default avatarPeter Korsgaard <peter@korsgaard.com>
parent 07fc65fd
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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