From patchwork Mon Dec 16 08:25:18 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Dawson X-Patchwork-Id: 301528 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 71DDB2C007B for ; Mon, 16 Dec 2013 19:25:30 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id B32D432CAB; Mon, 16 Dec 2013 08:25:27 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2Wfi1z2jxvt0; Mon, 16 Dec 2013 08:25:25 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 7B75D32ACA; Mon, 16 Dec 2013 08:25:25 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 437091BFA20 for ; Mon, 16 Dec 2013 08:25:24 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 40BB0814C2 for ; Mon, 16 Dec 2013 08:25:24 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WLnJ5M8F9GsF for ; Mon, 16 Dec 2013 08:25:23 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wg0-f42.google.com (mail-wg0-f42.google.com [74.125.82.42]) by whitealder.osuosl.org (Postfix) with ESMTPS id 5354E81684 for ; Mon, 16 Dec 2013 08:25:23 +0000 (UTC) Received: by mail-wg0-f42.google.com with SMTP id a1so1621019wgh.3 for ; Mon, 16 Dec 2013 00:25:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id; bh=I9NfxwBuUxtLO4iiri+6uz1zYhb6SPf04voRAXA2KZg=; b=wmPGfGNG6N6YaWxnOakMMjzPaeTDOeXQw0Kq3DHPpVKNNeG0vmm/yiiooKq6qm6WYM o8Rbp/Klmids4bRVMJEINrilAFdyM/4TQyh4JousgaHQFT+Xr6MoKMJsWSonsAHBbO0g NCsVHwc3cep0CuiSQMpoEMQD2cyVITXl4Nn2nD5xxMx8vl1V3kp31x0L8Lzucpb1rscP N2m8j0hKLK5u3wUD7c3dOEaolZYODOM9mw3eSlXhtGzmGX5u4qY6xCKi61uQof/TTTMT +06uEnLx0EHG1elWDTJq1LIWHmdDZY1e8h9XZyYMUZkx3ihvBeMvTSr+KAQxAe2RtjF0 E0yQ== X-Received: by 10.180.10.41 with SMTP id f9mr8186957wib.1.1387182321270; Mon, 16 Dec 2013 00:25:21 -0800 (PST) Received: from percy.lan (host-92-24-119-175.ppp.as43234.net. [92.24.119.175]) by mx.google.com with ESMTPSA id d2sm23522219wik.11.2013.12.16.00.25.19 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 16 Dec 2013 00:25:20 -0800 (PST) From: spdawson@gmail.com To: buildroot@busybox.net Date: Mon, 16 Dec 2013 08:25:18 +0000 Message-Id: <1387182318-21445-1-git-send-email-spdawson@gmail.com> X-Mailer: git-send-email 1.8.3.2 Subject: [Buildroot] [PATCH] oprofile: fix install for avr32 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net From: Simon Dawson 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 --- package/oprofile/oprofile.mk | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/package/oprofile/oprofile.mk b/package/oprofile/oprofile.mk index 186e30c..ee94d19 100644 --- a/package/oprofile/oprofile.mk +++ b/package/oprofile/oprofile.mk @@ -16,7 +16,14 @@ 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 + +OPROFILE_MAKE = $(MAKE1) ifeq ($(BR2_i386),y) OPROFILE_ARCH = i386