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:
parent
38cac73239
commit
68b1d566ae
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue