[PATCH A/X 2/2] UBUNTU: [Packaging] correct disablement of libbfd
Stefan Bader
stefan.bader at canonical.com
Tue Feb 27 15:42:43 UTC 2018
From: Andy Whitcroft <apw at canonical.com>
We used to use HAVE_CPLUS_DEMANGLE to disable libbfd. Upstream has changed
but the name of this control and its semantics. It now only switches us
to use the c++ demangler and only then if libbfd is disabled.
Use the newly added HAVE_NO_LIBBFD to switch off libbfd and switch to
the new name of the c++ demangle selector.
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>
(cherry-picked from commit 3be4ddf4fc06e6dcfef876020b6b4228dea5cfc1 bionic)
Signed-off-by: Stefan Bader <stefan.bader at canonical.com>
---
debian/rules.d/2-binary-arch.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/rules.d/2-binary-arch.mk b/debian/rules.d/2-binary-arch.mk
index 708a3ac..73cc0bc 100644
--- a/debian/rules.d/2-binary-arch.mk
+++ b/debian/rules.d/2-binary-arch.mk
@@ -636,7 +636,7 @@ ifeq ($(do_tools_perf),true)
cd $(builddirpa) && $(kmake) silentoldconfig
cd $(builddirpa) && $(kmake) prepare
cd $(builddirpa)/tools/perf && \
- $(kmake) prefix=/usr HAVE_CPLUS_DEMANGLE=1 CROSS_COMPILE=$(CROSS_COMPILE) NO_LIBPYTHON=1 NO_LIBPERL=1 PYTHON=python2.7
+ $(kmake) prefix=/usr HAVE_NO_LIBBFD=1 HAVE_CPUS_DEMANGLE_SUPPORT=1 CROSS_COMPILE=$(CROSS_COMPILE) NO_LIBPYTHON=1 NO_LIBPERL=1 PYTHON=python2.7
endif
ifeq ($(do_tools_x86),true)
cd $(builddirpa)/tools/power/x86/x86_energy_perf_policy && make CROSS_COMPILE=$(CROSS_COMPILE)
--
2.7.4
More information about the kernel-team
mailing list