summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2012-11-22 23:16:36 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2012-11-23 09:40:45 (GMT)
commitd15637d1715f155f7af6cd5fdf8ed3ffeedad04a (patch)
treea841c04b59c5e88e1c8512a32d46892e2443638f
parenta645383c841f5016f81e90e29b829fcf6a8a312b (diff)
downloadbuildroot-d15637d1715f155f7af6cd5fdf8ed3ffeedad04a.tar.gz
buildroot-d15637d1715f155f7af6cd5fdf8ed3ffeedad04a.tar.bz2
AVR32: fix libusb build
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>
-rw-r--r--package/libusb/libusb.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/libusb/libusb.mk b/package/libusb/libusb.mk
index 06a1485..fc2f10b 100644
--- a/package/libusb/libusb.mk
+++ b/package/libusb/libusb.mk
@@ -11,5 +11,9 @@ 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))