summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>2012-11-03 17:20:54 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2012-11-04 00:01:48 (GMT)
commit2424cc6783bbfb542f08cf1985b8c9ef18282161 (patch)
tree2a43d283ed5636a72f7b4a338432bc644b46ab57
parent3dd4bcf1eb55f957dba2351f3626933f06adb107 (diff)
downloadbuildroot-2424cc6783bbfb542f08cf1985b8c9ef18282161.tar.gz
buildroot-2424cc6783bbfb542f08cf1985b8c9ef18282161.tar.bz2
libhid: disable on avr32
libhid uses timerfd, which is not yet available in the uClibc-0.9.31 that we have to rely on for avr32. Since this is pretty much a corner case, just disable libhid for avr32. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/libhid/Config.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/libhid/Config.in b/package/libhid/Config.in
index 093b98f..bd1cfcb 100644
--- a/package/libhid/Config.in
+++ b/package/libhid/Config.in
@@ -1,6 +1,7 @@
config BR2_PACKAGE_LIBHID
bool "libhid"
depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
+ depends on !BR2_avr32 # timerfd not in uClibc-0.9.31
select BR2_PACKAGE_LIBUSB
select BR2_PACKAGE_LIBUSB_COMPAT
help
@@ -9,4 +10,4 @@ config BR2_PACKAGE_LIBHID
http://libhid.alioth.debian.org
comment "libhid needs a toolchain with thread support"
- depends on !BR2_TOOLCHAIN_HAS_THREADS
+ depends on !BR2_TOOLCHAIN_HAS_THREADS && !BR2_avr32