From 14581639295133d770591cf1f588df50156c284e Mon Sep 17 00:00:00 2001 From: Ben Hutchings Date: Sat, 27 Sep 2014 02:07:04 +0000 Subject: [PATCH] [armel,armhf] linux-tools: Enable use of libunwind perf requires some architecture-specific code in conjunction with libunwind. It used to enable use of libunwind automatically anyway, so we had to override this for architectures where it would fail to build (by setting NO_LIBUNWIND=1). The makefile is now fixed so we don't need to this. Since perf now has the extra code for arm, this enables use of libunwind there. svn path=/dists/sid/linux-tools/; revision=21910 --- debian/build/tools/perf/Makefile | 5 +---- debian/changelog | 1 + 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/debian/build/tools/perf/Makefile b/debian/build/tools/perf/Makefile index 33c511f94..53da47e77 100644 --- a/debian/build/tools/perf/Makefile +++ b/debian/build/tools/perf/Makefile @@ -3,20 +3,17 @@ OUTDIR = tools/perf include ../../Makefile.inc DEB_HOST_ARCH_CPU := $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU) -NO_LIBUNWIND=1 ifeq ($(DEB_HOST_ARCH_CPU),alpha) KERNEL_ARCH_PERF = alpha else ifeq ($(DEB_HOST_ARCH_CPU),amd64) KERNEL_ARCH_PERF = x86_64 - NO_LIBUNWIND= else ifeq ($(DEB_HOST_ARCH_CPU),arm) KERNEL_ARCH_PERF = arm else ifeq ($(DEB_HOST_ARCH_CPU),hppa) KERNEL_ARCH_PERF = parisc else ifeq ($(DEB_HOST_ARCH_CPU),i386) KERNEL_ARCH_PERF = i386 - NO_LIBUNWIND= else ifeq ($(DEB_HOST_ARCH_CPU),powerpc) KERNEL_ARCH_PERF = powerpc else ifeq ($(DEB_HOST_ARCH_CPU),powerpc64) @@ -35,7 +32,7 @@ else ifeq ($(DEB_HOST_ARCH_CPU),sparc64) KERNEL_ARCH_PERF = sparc endif -MAKE_PERF := $(MAKE) prefix=/usr V=1 ARCH=$(KERNEL_ARCH_PERF) EXTRA_WARNINGS=-Wno-error NO_LIBUNWIND=$(NO_LIBUNWIND) +MAKE_PERF := $(MAKE) prefix=/usr V=1 ARCH=$(KERNEL_ARCH_PERF) EXTRA_WARNINGS=-Wno-error # Disable Gtk UI until it's more usable MAKE_PERF += NO_GTK2=1 diff --git a/debian/changelog b/debian/changelog index 694e43f4e..2722b6069 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,6 +3,7 @@ linux-tools (3.16-3) UNRELEASED; urgency=low * linux-tools: Fix build configuration to avoid linking perf with libbfd (Closes: #763002) * linux-tools: Add a check that perf is not linked with libbfd + * [armel,armhf] linux-tools: Enable use of libunwind -- Ben Hutchings Sat, 27 Sep 2014 02:39:21 +0100