[kernel] r21910 - in dists/sid/linux-tools/debian: . build/tools/perf

Ben Hutchings benh at moszumanska.debian.org
Sat Sep 27 02:07:05 UTC 2014


Author: benh
Date: Sat Sep 27 02:07:04 2014
New Revision: 21910

Log:
[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.

Modified:
   dists/sid/linux-tools/debian/build/tools/perf/Makefile
   dists/sid/linux-tools/debian/changelog

Modified: dists/sid/linux-tools/debian/build/tools/perf/Makefile
==============================================================================
--- dists/sid/linux-tools/debian/build/tools/perf/Makefile	Sat Sep 27 02:01:14 2014	(r21909)
+++ dists/sid/linux-tools/debian/build/tools/perf/Makefile	Sat Sep 27 02:07:04 2014	(r21910)
@@ -3,20 +3,17 @@
 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 @@
   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

Modified: dists/sid/linux-tools/debian/changelog
==============================================================================
--- dists/sid/linux-tools/debian/changelog	Sat Sep 27 02:01:14 2014	(r21909)
+++ dists/sid/linux-tools/debian/changelog	Sat Sep 27 02:07:04 2014	(r21910)
@@ -3,6 +3,7 @@
   * 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 <ben at decadent.org.uk>  Sat, 27 Sep 2014 02:39:21 +0100
 



More information about the Kernel-svn-changes mailing list