Skip to contentSkip to conversation

libhid: disable on avr32

PATCH Superseded Arnout Vandecappelle (Essensium/Mind) 2 participants 2 messages Nov 3, 2012 – Nov 4, 2012

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
Note: not build-tested, just looked at the menuconfig behaviour.

 package/libhid/Config.in |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
package/libhid/Config.in +2 -1
index 093b98f..bd1cfcb 100644
@@ -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
Signature · 1 line
tg: (b72f3f6..) t/libhid-avr32 (depends on: master)
#1 lore raw

PATCH 1/1 libhid: disable on avr32

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Arnout" == Arnout Vandecappelle (Essensium/Mind) <[email protected]> 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.

Signature · 1 line
Bye, Peter Korsgaard