[linux-tools] 01/01: Fix architecture filtering to use DEB_HOST_ARCH not DEB_BUILD_ARCH

debian-kernel at lists.debian.org debian-kernel at lists.debian.org
Sun Mar 20 22:00:24 UTC 2016


This is an automated email from the git hooks/post-receive script.

benh pushed a commit to branch master
in repository linux-tools.

commit 8f3922a3c7b5a7bb3e1d66f5db5b4e90f8825fb7
Author: Ben Hutchings <ben at decadent.org.uk>
Date:   Sun Mar 20 21:59:06 2016 +0000

    Fix architecture filtering to use DEB_HOST_ARCH not DEB_BUILD_ARCH
    
    Should make cross-builds work properly.
---
 debian/rules.d/tools/hv/Makefile | 2 +-
 debian/rules.real                | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/rules.d/tools/hv/Makefile b/debian/rules.d/tools/hv/Makefile
index 339a8b1..3393517 100644
--- a/debian/rules.d/tools/hv/Makefile
+++ b/debian/rules.d/tools/hv/Makefile
@@ -1,4 +1,4 @@
-ifeq ($(filter i386 amd64 x32,$(DEB_BUILD_ARCH)),)
+ifeq ($(filter i386 amd64 x32,$(DEB_HOST_ARCH)),)
 
 # Build nothing
 include $(top_rulesdir)/Makefile.inc
diff --git a/debian/rules.real b/debian/rules.real
index 5283351..9bcea29 100644
--- a/debian/rules.real
+++ b/debian/rules.real
@@ -8,10 +8,10 @@ define submake
 endef
 
 binary-arch: install-kbuild install-usbip install-liblockdep install-cpupower
-ifneq ($(filter alpha amd64 arm64 armel armhf hppa i386 mips mips64 mips64el mipsel powerpc powerpcspe ppc64 ppc64el s390 s390x sh4 sparc sparc64,$(DEB_BUILD_ARCH)),)
+ifneq ($(filter alpha amd64 arm64 armel armhf hppa i386 mips mips64 mips64el mipsel powerpc powerpcspe ppc64 ppc64el s390 s390x sh4 sparc sparc64,$(DEB_HOST_ARCH)),)
   binary-arch: install-perf
 endif
-ifneq ($(filter i386 amd64 x32,$(DEB_BUILD_ARCH)),)
+ifneq ($(filter i386 amd64 x32,$(DEB_HOST_ARCH)),)
   binary-arch: install-hyperv-daemons
 endif
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/kernel/linux-tools.git



More information about the Kernel-svn-changes mailing list