hyperv-daemons: Only build the progarams on x86 (fixes FTBFS)

The daemons themselves can be built for any architecture, although on
!x86 they are useless and won't be included in any package.  However,
the newly introduced check-hyperv.c include inline assembly which
breaks the build.
This commit is contained in:
Ben Hutchings 2016-02-21 16:58:27 +00:00
parent 38cac73239
commit 68b1d566ae
2 changed files with 15 additions and 0 deletions

View File

@ -1,3 +1,10 @@
ifeq ($(filter i386 amd64 x32,$(DEB_BUILD_ARCH)),)
# Build nothing
include ../../Makefile.inc
else
PROGS = \
hv_fcopy_daemon \
hv_kvp_daemon \
@ -15,3 +22,5 @@ install-local-progs: $(PROGS)
install -D -m755 "$$p" "$(DESTDIR)/$(prefix)/$$(basename $$p)"; \
done
install -D -m755 check-hyperv '$(DESTDIR)/lib/hyperv-daemons/check-hyperv'
endif

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
linux-tools (4.4-4) unstable; urgency=medium
* hyperv-daemons: Only build the progarams on x86 (fixes FTBFS)
-- Ben Hutchings <ben@decadent.org.uk> Sun, 21 Feb 2016 16:57:55 +0000
linux-tools (4.4-3) unstable; urgency=medium
* hyperv-daemons: Add init scripts