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

Andy Whitcroft apw at canonical.com
Tue Feb 13 14:48:56 UTC 2018


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>
---
 tools/perf/Makefile.config | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tools/perf/Makefile.config b/tools/perf/Makefile.config
index 0294bfb6c5f8..3ec1969b6d3e 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
 
-- 
2.15.1





More information about the kernel-team mailing list