* [Buildroot] [PATCH] libhid: disable on avr32
@ 2012-11-03 17:20 Arnout Vandecappelle
2012-11-04 0:02 ` Peter Korsgaard
0 siblings, 1 reply; 2+ messages in thread
From: Arnout Vandecappelle @ 2012-11-03 17:20 UTC (permalink / raw)
To: buildroot
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(-)
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
--
tg: (b72f3f6..) t/libhid-avr32 (depends on: master)
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-11-04 0:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-03 17:20 [Buildroot] [PATCH] libhid: disable on avr32 Arnout Vandecappelle
2012-11-04 0:02 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox