diff mbox

libhid: disable on avr32

Message ID 1351963254-17491-1-git-send-email-arnout@mind.be
State Accepted
Commit 2424cc6783bbfb542f08cf1985b8c9ef18282161
Headers show

Commit Message

Arnout Vandecappelle Nov. 3, 2012, 5:20 p.m. UTC
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>
---
Note: not build-tested, just looked at the menuconfig behaviour.

 package/libhid/Config.in |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Peter Korsgaard Nov. 4, 2012, 12:02 a.m. UTC | #1
>>>>> "Arnout" == Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> writes:

 Arnout> libhid uses timerfd, which is not yet available in the uClibc-0.9.31
 Arnout> that we have to rely on for avr32.  Since this is pretty much a corner
 Arnout> case, just disable libhid for avr32.

Committed, thanks.
diff mbox

Patch

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