From patchwork Tue Feb 27 15:42:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Bader X-Patchwork-Id: 878638 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=canonical.com Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) by ozlabs.org (Postfix) with ESMTP id 3zrNHv4NCzz9s1x; Wed, 28 Feb 2018 02:42:51 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1eqhOv-00081y-Uu; Tue, 27 Feb 2018 15:42:45 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.86_2) (envelope-from ) id 1eqhOu-00081f-TA for kernel-team@lists.ubuntu.com; Tue, 27 Feb 2018 15:42:44 +0000 Received: from 1.general.smb.uk.vpn ([10.172.193.28] helo=canonical.com) by youngberry.canonical.com with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.76) (envelope-from ) id 1eqhOu-0000yk-KN for kernel-team@lists.ubuntu.com; Tue, 27 Feb 2018 15:42:44 +0000 From: Stefan Bader To: kernel-team@lists.ubuntu.com Subject: [PATCH A 1/2] UBUNTU: SAUCE: tools -- add ability to disable libbfd Date: Tue, 27 Feb 2018 16:42:41 +0100 Message-Id: <1519746163-27228-2-git-send-email-stefan.bader@canonical.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1519746163-27228-1-git-send-email-stefan.bader@canonical.com> References: <1519746163-27228-1-git-send-email-stefan.bader@canonical.com> X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" From: Andy Whitcroft We do not want to be linked to libbfd as this is a tightly versioned package which does not maintain its ABI. This prevents us from have multiple tools packages installed. Turn that off and we will fallback to libiberty. BugLink: http://bugs.launchpad.net/bugs/1748922 Signed-off-by: Andy Whitcroft Signed-off-by: Seth Forshee (cherry-picked from commit 1db74df61ab4fdef7e6c7734caca0639d2278689 bionic) Signed-off-by: Stefan Bader --- tools/perf/Makefile.config | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/perf/Makefile.config b/tools/perf/Makefile.config index 0294bfb..3ec1969 100644 --- a/tools/perf/Makefile.config +++ b/tools/perf/Makefile.config @@ -649,6 +649,10 @@ else endif endif +ifdef HAVE_NO_LIBBFD + feature-libbfd := 0 +endif + ifeq ($(feature-libbfd), 1) EXTLIBS += -lbfd