[Buildroot] [git commit] libusb: do not depend on host-udev for host variant
Peter Korsgaard
peter at korsgaard.com
Wed Jan 29 21:37:01 UTC 2014
commit: http://git.buildroot.net/buildroot/commit/?id=8c13f9e82ee897e643ee0d28f9eb4ce91449c769
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
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 at mind.be>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
package/libusb/libusb.mk | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/package/libusb/libusb.mk b/package/libusb/libusb.mk
index ffb39ba..a8ff74c 100644
--- a/package/libusb/libusb.mk
+++ b/package/libusb/libusb.mk
@@ -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
More information about the buildroot
mailing list