From patchwork Tue Nov 5 14:06:27 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andi Shyti X-Patchwork-Id: 288534 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 80EE22C035C for ; Wed, 6 Nov 2013 01:06:40 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 0F7A993636; Tue, 5 Nov 2013 14:06:39 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DG6AlWvdA++N; Tue, 5 Nov 2013 14:06:37 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id C158F8B366; Tue, 5 Nov 2013 14:06:37 +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 D560A1BFAA2 for ; Tue, 5 Nov 2013 14:06:36 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id CFA818B2FA for ; Tue, 5 Nov 2013 14:06:36 +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 hFQv+DZgvupb for ; Tue, 5 Nov 2013 14:06:36 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail.etezian.org (etezian.org [198.101.225.253]) by whitealder.osuosl.org (Postfix) with ESMTPS id 060B98B263 for ; Tue, 5 Nov 2013 14:06:35 +0000 (UTC) Received: from mail.etezian.org (p549FD492.dip0.t-ipconnect.de [84.159.212.146]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mail.etezian.org (Postfix) with ESMTPSA id ECD8E1834C; Tue, 5 Nov 2013 08:09:58 -0600 (CST) From: Andi Shyti To: buildroot@busybox.net Date: Tue, 5 Nov 2013 15:06:27 +0100 Message-Id: <1383660387-31193-1-git-send-email-andi@etezian.org> X-Mailer: git-send-email 1.8.4.2 Subject: [Buildroot] [PATCH] perf: libelf is required to compile perf 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 Point this out in the related Config.in in the perf directory. Mute the following error by selecting BR2_PACKAGE_LIBELF: The perf tool in your kernel cannot be built without libelf. Either upgrade your kernel to >= 3.7, or enable the elfutils package. make: *** [/home/andi/repo/buildroot-snowball/output/build/perf-stable-linux-ux500-3.4/.stamp_built] Error 1 Signed-off-by: Andi Shyti --- package/perf/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/package/perf/Config.in b/package/perf/Config.in index 88dce93..4b651b3 100644 --- a/package/perf/Config.in +++ b/package/perf/Config.in @@ -2,6 +2,7 @@ config BR2_PACKAGE_PERF bool "perf" depends on BR2_LINUX_KERNEL depends on BR2_LARGEFILE + depends on BR2_PACKAGE_LIBELF help perf (sometimes "Perf Events" or perf tools, originally "Performance Counters for Linux") - is a performance