[PATCH X 1/2] UBUNTU: SAUCE: tools -- add ability to disable libbfd

Stefan Bader stefan.bader at canonical.com
Tue Feb 27 15:42:42 UTC 2018


From: Andy Whitcroft <apw at canonical.com>

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 <apw at canonical.com>
Signed-off-by: Seth Forshee <seth.forshee at canonical.com>
(backported from commit 1db74df61ab4fdef7e6c7734caca0639d2278689 bionic)
Signed-off-by: Stefan Bader <stefan.bader at canonical.com>
---
 tools/perf/config/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tools/perf/config/Makefile b/tools/perf/config/Makefile
index de89ec5..a7ed417 100644
--- a/tools/perf/config/Makefile
+++ b/tools/perf/config/Makefile
@@ -515,6 +515,10 @@ else
   endif
 endif
 
+ifdef HAVE_NO_LIBBFD
+  feature-libbfd := 0
+endif
+
 ifeq ($(feature-libbfd), 1)
   EXTLIBS += -lbfd
 
-- 
2.7.4





More information about the kernel-team mailing list