[Buildroot] [PATCH] libpfm4: disable on avr32

spdawson at gmail.com spdawson at gmail.com
Fri Nov 29 09:23:49 UTC 2013

From: Simon Dawson <spdawson at gmail.com>

The perf_event_open syscall is not available on avr32. Fixes build failures
such as the following.


Signed-off-by: Simon Dawson <spdawson at gmail.com>
 package/libpfm4/Config.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/libpfm4/Config.in b/package/libpfm4/Config.in
index 6b491a4..3908e78 100644
--- a/package/libpfm4/Config.in
+++ b/package/libpfm4/Config.in
@@ -1,5 +1,6 @@
 	bool "libpfm4"
+	depends on !BR2_avr32 # no perf_event_open
 	  A helper library to help encode Performance Events to use with
 	  Operating system kernels performance monitoring interfaces.

More information about the buildroot mailing list