hyperv-daemons: Only attempt to build package on i386, amd64 (fixes FTBFS on other architectures)

svn path=/dists/trunk/linux-tools/; revision=22837
This commit is contained in:
Ben Hutchings 2015-07-16 18:59:30 +00:00
parent 2fe492c10f
commit b3cf7793e2
2 changed files with 6 additions and 1 deletions

2
debian/changelog vendored
View File

@ -2,6 +2,8 @@ linux-tools (4.1.2-1~exp2) UNRELEASED; urgency=medium
* linux-tools: Set $KBUILD_BUILD_TIMESTAMP from changelog and use it as man
page date
* hyperv-daemons: Only attempt to build package on i386, amd64
(fixes FTBFS on other architectures)
-- Ben Hutchings <ben@decadent.org.uk> Mon, 13 Jul 2015 19:52:17 +0100

5
debian/rules.real vendored
View File

@ -3,10 +3,13 @@ export KBUILD_BUILD_TIMESTAMP := $(shell dpkg-parsechangelog | sed -ne 's,^Date:
include debian/rules.defs
binary-arch: install-kbuild install-usbip install-hyperv-daemons
binary-arch: install-kbuild install-usbip
ifneq ($(filter alpha amd64 arm64 armel armhf hppa i386 mips mips64 mips64el mipsel powerpc powerpcspe ppc64 ppc64el s390 s390x sh4 sparc sparc64 x32,$(DEB_BUILD_ARCH)),)
binary-arch: install-tools
endif
ifneq ($(filter i386 amd64,$(DEB_BUILD_ARCH)),)
binary-arch: install-hyperv-daemons
endif
build: $(STAMPS_DIR)/build