From patchwork Sun Oct 19 20:07:51 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Petazzoni X-Patchwork-Id: 400868 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 72E21140080 for ; Mon, 20 Oct 2014 07:09:21 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 56FBA953D7; Sun, 19 Oct 2014 20:09:16 +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 JRc7iQ1oIilQ; Sun, 19 Oct 2014 20:09:15 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 3518395411; Sun, 19 Oct 2014 20:09:15 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 0BE011C1E6B for ; Sun, 19 Oct 2014 20:09:06 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 01748A12F4 for ; Sun, 19 Oct 2014 20:09:06 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4BofZcIKAaDH for ; Sun, 19 Oct 2014 20:09:05 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail.free-electrons.com (top.free-electrons.com [176.31.233.9]) by fraxinus.osuosl.org (Postfix) with ESMTP id 75917A14CF for ; Sun, 19 Oct 2014 20:09:05 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 106) id 8D2E1163B; Sun, 19 Oct 2014 22:09:08 +0200 (CEST) Received: from localhost (AToulouse-657-1-1059-39.w83-193.abo.wanadoo.fr [83.193.173.39]) by mail.free-electrons.com (Postfix) with ESMTPSA id 6DEA8163B; Sun, 19 Oct 2014 22:08:29 +0200 (CEST) From: Thomas Petazzoni To: buildroot@uclibc.org Date: Sun, 19 Oct 2014 22:07:51 +0200 Message-Id: <1413749285-1108-18-git-send-email-thomas.petazzoni@free-electrons.com> X-Mailer: git-send-email 2.0.0 In-Reply-To: <1413749285-1108-1-git-send-email-thomas.petazzoni@free-electrons.com> References: <1413749285-1108-1-git-send-email-thomas.petazzoni@free-electrons.com> Cc: Thomas Petazzoni Subject: [Buildroot] [PATCH 17/31] valgrind: use the BR2_ARM_CPU_ARM* options X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 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" Instead of using the exhaustive list of Cortex-A ARM cores, use BR2_ARM_CPU_ARMV7A instead. We also fix a wrong comment that said the Valgrind package could only be selected for Cortex-A8 and Cortex-A9, which was true a long time ago, but was no longer true since it was also enabled for all the other Cortex-A platforms. Signed-off-by: Thomas Petazzoni --- package/valgrind/Config.in | 7 +++---- package/valgrind/valgrind.mk | 4 ++-- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/package/valgrind/Config.in b/package/valgrind/Config.in index 253555b..b7521b0 100644 --- a/package/valgrind/Config.in +++ b/package/valgrind/Config.in @@ -1,9 +1,8 @@ config BR2_PACKAGE_VALGRIND bool "valgrind" - depends on BR2_i386 || BR2_x86_64 || BR2_cortex_a5 || \ - BR2_cortex_a7 || BR2_cortex_a8 || BR2_cortex_a9 || \ - BR2_cortex_a12 || BR2_cortex_a15 || BR2_powerpc || \ - BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el + depends on BR2_i386 || BR2_x86_64 || BR2_ARM_CPU_ARMV7A || \ + BR2_powerpc || BR2_mips || BR2_mipsel || BR2_mips64 || \ + BR2_mips64el help Tool for debugging and profiling Linux programs. diff --git a/package/valgrind/valgrind.mk b/package/valgrind/valgrind.mk index 9b79941..b65e048 100644 --- a/package/valgrind/valgrind.mk +++ b/package/valgrind/valgrind.mk @@ -16,8 +16,8 @@ VALGRIND_AUTORECONF = YES # host tuple to determine whether it's being built for ARMv7 or # not. Therefore, we adjust the host tuple to specify we're on # ARMv7. The valgrind package is guaranteed, through Config.in, to -# only be selected on Cortex A8 and Cortex A9 platforms. -ifeq ($(BR2_cortex_a5)$(BR2_cortex_a7)$(BR2_cortex_a8)$(BR2_cortex_a9)$(BR2_cortex_a12)$(BR2_cortex_a15),y) +# only be selected on ARMv7-A platforms. +ifeq ($(BR2_ARM_CPU_ARMV7A),y) VALGRIND_CONF_OPTS += \ --host=$(patsubst arm-%,armv7-%,$(GNU_TARGET_NAME)) endif