* [Buildroot] [PATCH v2] oprofile: fix install for avr32
@ 2013-12-16 8:43 spdawson at gmail.com
2013-12-16 11:37 ` Peter Korsgaard
0 siblings, 1 reply; 2+ messages in thread
From: spdawson at gmail.com @ 2013-12-16 8:43 UTC (permalink / raw)
To: buildroot
From: Simon Dawson <spdawson@gmail.com>
There is no perf_events support in the kernel for avr32. The oprofile
package makefile hard codes the list of binaries to install. Unfortunately,
this hard-coded list contains pe_profiling/operf, which is only built when
perf_events support is available.
Fixes autobuild failures such as the following.
http://autobuild.buildroot.net/results/492/492659bc252395a62e62e6005ed0e86e582dcada/
Signed-off-by: Simon Dawson <spdawson@gmail.com>
---
v2: Remove unintended OPROFILE_MAKE modification, spotted by Baruch Siach
package/oprofile/oprofile.mk | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/package/oprofile/oprofile.mk b/package/oprofile/oprofile.mk
index 186e30c..07a8ec9 100644
--- a/package/oprofile/oprofile.mk
+++ b/package/oprofile/oprofile.mk
@@ -16,7 +16,12 @@ OPROFILE_CONF_OPT = \
OPROFILE_AUTORECONF = YES
OPROFILE_BINARIES = utils/ophelp pp/opannotate pp/oparchive pp/opgprof
OPROFILE_BINARIES += pp/opreport opjitconv/opjitconv daemon/oprofiled
-OPROFILE_BINARIES += utils/op-check-perfevents pe_profiling/operf libabi/opimport
+OPROFILE_BINARIES += utils/op-check-perfevents libabi/opimport
+
+# No perf_events support in kernel for avr32
+ifneq ($(BR2_avr32),y)
+OPROFILE_BINARIES += pe_profiling/operf
+endif
ifeq ($(BR2_i386),y)
OPROFILE_ARCH = i386
--
1.8.3.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH v2] oprofile: fix install for avr32
2013-12-16 8:43 [Buildroot] [PATCH v2] oprofile: fix install for avr32 spdawson at gmail.com
@ 2013-12-16 11:37 ` Peter Korsgaard
0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2013-12-16 11:37 UTC (permalink / raw)
To: buildroot
>>>>> "spdawson" == spdawson <spdawson@gmail.com> writes:
> From: Simon Dawson <spdawson@gmail.com>
> There is no perf_events support in the kernel for avr32. The oprofile
> package makefile hard codes the list of binaries to install. Unfortunately,
> this hard-coded list contains pe_profiling/operf, which is only built when
> perf_events support is available.
> Fixes autobuild failures such as the following.
> http://autobuild.buildroot.net/results/492/492659bc252395a62e62e6005ed0e86e582dcada/
> Signed-off-by: Simon Dawson <spdawson@gmail.com>
> ---
> v2: Remove unintended OPROFILE_MAKE modification, spotted by Baruch Siach
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-12-16 11:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-16 8:43 [Buildroot] [PATCH v2] oprofile: fix install for avr32 spdawson at gmail.com
2013-12-16 11:37 ` Peter Korsgaard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.