d15637d171
The libc of the avr32 toolchains seem to lack the timerfd-associated functions. Pass --disable-timerfd to libusb configure script when building for avr32. Fixes most of the recent avr32 breakages, such as http://autobuild.buildroot.org/results/f418b6c0b026891c27467f61444b6eac8c105681 or http://autobuild.buildroot.org/results/1a9e571998bc0a40822dca84267abbdd969bab5e Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
20 lines
559 B
Makefile
20 lines
559 B
Makefile
#############################################################
|
|
#
|
|
# libusb
|
|
#
|
|
#############################################################
|
|
LIBUSB_VERSION = 1.0.9
|
|
LIBUSB_SOURCE = libusb-$(LIBUSB_VERSION).tar.bz2
|
|
LIBUSB_SITE = http://downloads.sourceforge.net/project/libusb/libusb-1.0/libusb-$(LIBUSB_VERSION)
|
|
LIBUSB_LICENSE = LGPLv2.1+
|
|
LIBUSB_LICENSE_FILES = COPYING
|
|
LIBUSB_DEPENDENCIES = host-pkgconf
|
|
LIBUSB_INSTALL_STAGING = YES
|
|
|
|
ifeq ($(BR2_avr32),y)
|
|
LIBUSB_CONF_OPT += --disable-timerfd
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|
|
$(eval $(host-autotools-package))
|