From b7b252be8b271f6ba5f691c0df731c86300fe3d1 Mon Sep 17 00:00:00 2001 From: Ben Hutchings Date: Tue, 26 Aug 2014 08:14:42 +0000 Subject: [PATCH] [ppc64el] Build linux-tools binary package svn path=/dists/trunk/linux-tools/; revision=21747 --- debian/build/tools/perf/Makefile | 2 ++ debian/changelog | 3 +++ debian/rules.real | 2 +- debian/templates/control.main.in | 2 +- debian/templates/control.source.in | 2 +- 5 files changed, 8 insertions(+), 3 deletions(-) diff --git a/debian/build/tools/perf/Makefile b/debian/build/tools/perf/Makefile index ca6ac47b3..afe052627 100644 --- a/debian/build/tools/perf/Makefile +++ b/debian/build/tools/perf/Makefile @@ -21,6 +21,8 @@ else ifeq ($(DEB_HOST_ARCH_CPU),powerpc) KERNEL_ARCH_PERF = powerpc else ifeq ($(DEB_HOST_ARCH_CPU),powerpc64) KERNEL_ARCH_PERF = powerpc +else ifeq ($(DEB_HOST_ARCH_CPU),ppc64el) + KERNEL_ARCH_PERF = powerpc else ifeq ($(DEB_HOST_ARCH_CPU),s390) KERNEL_ARCH_PERF = s390 else ifeq ($(DEB_HOST_ARCH_CPU),s390x) diff --git a/debian/changelog b/debian/changelog index 308b911a2..0e673ccb4 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,9 @@ linux-tools (3.16-1) UNRELEASED; urgency=medium * New upstream release + [ Mauricio Faria de Oliveira ] + * [ppc64el] Build linux-tools binary package + -- Ben Hutchings Sat, 23 Aug 2014 17:50:42 -0700 linux-tools (3.16~rc7-1~exp1) experimental; urgency=medium diff --git a/debian/rules.real b/debian/rules.real index 8b2730e8e..42e7174b6 100644 --- a/debian/rules.real +++ b/debian/rules.real @@ -9,7 +9,7 @@ DEB_BUILD_ARCH := $(shell dpkg-architecture -qDEB_BUILD_ARCH) VERSION_DEBIAN_FULL := $(shell dpkg-parsechangelog | sed -ne 's,^Version: *\(.*\)$$,\1,p') binary-arch: install-kbuild install-usbip -ifneq ($(filter alpha amd64 armel armhf hppa i386 powerpc ppc64 s390 s390x sh4 sparc sparc64,$(DEB_BUILD_ARCH)),) +ifneq ($(filter alpha amd64 armel armhf hppa i386 powerpc ppc64 ppc64el s390 s390x sh4 sparc sparc64,$(DEB_BUILD_ARCH)),) binary-arch: install-tools endif diff --git a/debian/templates/control.main.in b/debian/templates/control.main.in index 74cdb2011..390782c3f 100644 --- a/debian/templates/control.main.in +++ b/debian/templates/control.main.in @@ -7,7 +7,7 @@ Description: Kbuild infrastructure for Linux @version@ Package: linux-tools-@version@ Section: devel -Architecture: alpha amd64 armel armhf hppa i386 powerpc ppc64 s390 s390x sh4 sparc sparc64 +Architecture: alpha amd64 armel armhf hppa i386 powerpc ppc64 ppc64el s390 s390x sh4 sparc sparc64 Depends: ${shlibs:Depends}, ${misc:Depends}, ${perl:Depends}, ${python:Depends} Recommends: linux-base (>= 3.4~) Suggests: linux-doc-@version@ diff --git a/debian/templates/control.source.in b/debian/templates/control.source.in index f11555c6b..77d72482f 100644 --- a/debian/templates/control.source.in +++ b/debian/templates/control.source.in @@ -6,7 +6,7 @@ Uploaders: Bastian Blank , Ben Hutchings Standards-Version: 3.9.4 Build-Depends: debhelper (>> 7), python, - asciidoc, bison, flex, libaudit-dev, libdw-dev, libelf-dev, libiberty-dev | binutils-dev (<< 2.23.91.20131123-1), libnewt-dev, libnuma-dev [amd64 i386 powerpc ppc64], libperl-dev, libunwind8-dev [amd64 i386], python-dev, xmlto, + asciidoc, bison, flex, libaudit-dev, libdw-dev, libelf-dev, libiberty-dev | binutils-dev (<< 2.23.91.20131123-1), libnewt-dev, libnuma-dev [amd64 i386 powerpc ppc64 ppc64el], libperl-dev, libunwind8-dev [amd64 i386], python-dev, xmlto, autoconf, automake, libtool, libglib2.0-dev, libudev-dev, libwrap0-dev Vcs-Svn: svn://svn.debian.org/svn/kernel/dists/trunk/linux-tools/ Vcs-Browser: http://anonscm.debian.org/viewvc/kernel/dists/trunk/linux-tools/